diff --git a/exts/tex.py b/exts/tex.py index e521cda..6093f36 100644 --- a/exts/tex.py +++ b/exts/tex.py @@ -45,7 +45,11 @@ class TexCog(commands.Cog): if render_result["status"] != "success": embed = cmn.embed_factory(ctx) embed.title = "LaTeX Rendering Failed!" - embed.description = render_result.get("description", "Unknown error") + embed.description = ("Here are some common reasons:\n" + "- Did you forget to use math mode? Surround math expressions with `$`," + " like `$x^3$`.\n" + "- Are you using a command from a package? It might not be available.\n" + "- Are you including the document headers? We already did that for you.") embed.colour = cmn.colours.bad await ctx.send(embed=embed) return