mirror of
https://github.com/miaowware/qrm2.git
synced 2025-07-01 23:55:16 -04:00
explicitly mention document mode in docstring
This commit is contained in:
parent
ff5de8abc0
commit
6407bd8bc3
@ -28,7 +28,10 @@ class TexCog(commands.Cog):
|
||||
|
||||
@commands.command(name="tex", aliases=["latex"], category=cmn.Cats.UTILS)
|
||||
async def tex(self, ctx: commands.Context, *, expr: str):
|
||||
"""Renders a LaTeX expression."""
|
||||
"""Renders a LaTeX expression.
|
||||
|
||||
In document mode by default. To render math, add `$` around math expressions.
|
||||
"""
|
||||
payload = {
|
||||
"format": "png",
|
||||
"code": self.template.replace("#CONTENT#", expr),
|
||||
|
Loading…
x
Reference in New Issue
Block a user