diff options
author | redcreeper14385 <mounderfod@gmail.com> | 2021-07-21 15:58:30 +0100 |
---|---|---|
committer | redcreeper14385 <mounderfod@gmail.com> | 2021-07-21 15:58:30 +0100 |
commit | da46644c61a99ee288a0c78369fe7afeec43f3ba (patch) | |
tree | ad4acc426e6d901857a3c91c78290eae5201f9c1 /cogs/about.py | |
download | tiny-potato-bot-da46644c61a99ee288a0c78369fe7afeec43f3ba.tar.gz |
feat: initial commit, about and fun commands
Diffstat (limited to 'cogs/about.py')
-rw-r--r-- | cogs/about.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cogs/about.py b/cogs/about.py new file mode 100644 index 0000000..c9ed7e1 --- /dev/null +++ b/cogs/about.py @@ -0,0 +1,21 @@ +import discord +from discord.ext import commands + +class About(commands.Cog): + def __init__(self, bot): + self.bot = bot + + @commands.command(name="about", brief="Gives information about the bot.", help="Gives information about the bot.") + async def about(self, ctx): + embed = discord.Embed(title="Tiny Potato Bot", + description="The creator of Tiny Potato Bot is mounderfod (aka redcreeper14385), find him here:", + color=0xa37dca) + embed.add_field(name="GitHub", value="https://github.com/redcreeper14385", inline=False) + embed.add_field(name="Twitch", value="https://twitch.tv/mounderfod", inline=False) + embed.add_field(name="Discord", value="mounderfod#4179", inline=False) + embed.add_field(name="Reddit", value="https://www.reddit.com/user/mounderfod", inline=False) + embed.set_footer(text="Tiny Potato Bot v1.0.0") + await ctx.send(embed=embed) + +def setup(bot): + bot.add_cog(About(bot)) \ No newline at end of file |