about.py 833 B

123456789101112131415161718192021
  1. import discord
  2. import discord.ext.commands as discord_cmds
  3. import myanimebot.globals as globals
  4. @discord_cmds.command(name="about")
  5. async def about_cmd(ctx):
  6. ''' Responds to about command with a brief description of this bot '''
  7. embed = discord.Embed(title="***MyAnimeBot Commands***", colour=0xEED000)
  8. embed.title = "MyAnimeBot version {} by Penta & lulu".format(globals.VERSION)
  9. embed.colour = 0xEED000
  10. embed.description = """MyAnimeBot checks MyAnimeList and Anilist profiles for specified users, and send a message for every new activities found.
  11. More help with the **{} help** command.
  12. Check our GitHub page for more informations: https://github.com/Penta/MyAnimeBot
  13. """.format(globals.prefix)
  14. embed.set_thumbnail(url=globals.iconBot)
  15. await ctx.send(embed=embed)