from discord.ext import commands


class Help(commands.Cog):
    def __init__(self, bot):
        self.bot = bot

    @commands.command(name="mhelp")
    async def mhelp(self, ctx):
        await ctx.send(
            """A simple Manim rendering bot.

Use the `!manimate` command to render short and simple Manim scripts.
Code **must** be properly formatted and indented. Note that you can't animate through DM's.

Supported tags:
```
    -t, --transparent, -i, --save_as_gif, -s, --save_last_frame
```
Example:
```
!manimate -s
\`\`\`py
def construct(self):
    self.play(ReplacementTransform(Square(), Circle()))
\`\`\`
```
"""
        )


def setup(bot):
    bot.add_cog(Help(bot))

from discord.ext import commands


class Help(commands.Cog):
    def __init__(self, bot):
        self.bot = bot

    @commands.command(name="mhelp")
    async def mhelp(self, ctx):
        await ctx.send(
            """A simple Manim rendering bot.

Use the `!manimate` command to render short and simple Manim scripts.
Code **must** be properly formatted and indented. Note that you can't animate through DM's.

Supported tags:
```
    -t, --transparent, -i, --save_as_gif, -s, --save_last_frame
```
Example:
```
!manimate -s
\`\`\`py
def construct(self):
    self.play(ReplacementTransform(Square(), Circle()))
\`\`\`
```
"""
        )


def setup(bot):
    bot.add_cog(Help(bot))

A simple Manim rendering bot.  Use the `!manimate` command to render short and simple Manim scripts. Code **must** be properly formatted and indented. Note that you can't animate through DM's.  Supported tags: ```     -t, --transparent, -i, --save_as_gif, -s, --save_last_frame ``` Example: ``` !manimate -s \`\`\`py def construct(self):     self.play(ReplacementTransform(Square(), Circle())) \`\`\` ```