diff --git a/latex_commands.py b/latex_commands.py index d25cdcc..81adef1 100644 --- a/latex_commands.py +++ b/latex_commands.py @@ -141,7 +141,7 @@ class LatexModule(commands.Cog): ) await ctx.reply( content if len(content) < 1900 else content[:1900] + "…", - files=parts, + files=files_to_send, mention_author=False, ) @@ -229,7 +229,7 @@ class LatexModule(commands.Cog): raise await ctx.reply( "**LaTeX clean** — " + ", ".join(parts), - files=tex_names, + files=files_to_send, mention_author=False, )