about summary refs log blame commit diff stats
path: root/cogs/utils.py
blob: a574249786e1d26e1e0201108e95d02a57640b7e (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                
 
                          




                                                                                                                      

                                                                                                                            
                                             




                                                                                                      

                                   
 
               
                           
import discord
from discord.ext import commands


class Utils(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 CraftVoltage), find him here:",
                              color=0xa37dca)
        embed.add_field(name="GitHub", value="https://github.com/mounderfod", inline=False)
        embed.add_field(name="Twitch", value="https://twitch.tv/mounderfod_", inline=False)
        embed.add_field(name="Discord", value="mounderfod#5949", inline=False)
        embed.add_field(name="Reddit", value="https://www.reddit.com/user/craftvoltage", inline=False)
        embed.set_footer(text="Tiny Potato Bot v2.0.0")
        await ctx.send(embed=embed)


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