def info(self, ctx):
"""
Information about GAF Bot
"""
with ctx.channel.typing():
embed = discord.Embed(title="Invite me to your server!", colour=discord.Colour.gold(),
url="https://discordapp.com/oauth2/authorize?&client_id=173708503796416512&scope=bot&permissions=8",
description=self.bot.description,
timestamp=datetime.datetime.utcfromtimestamp(1493993514))
embed.set_thumbnail(url=ctx.author.avatar_url)
embed.set_author(name="GAF Bot", url="https://github.com/DiNitride/GAFBot")
embed.add_field(name="Source Code", value="https://github.com/DiNitride/GAFBot")
embed.add_field(name="Author", value="GAF Bot is written and maintained by DiNitride#7899")
embed.add_field(name="Discord.py Version", value=discord.__version__)
embed.add_field(name="The Never Ending GAF", value="GAF Bot is the bot of the awful community known as "
"The Never Ending GAF, which you can find out about at "
"http://www.neverendinggaf.com")
await ctx.send(embed=embed)
评论列表
文章目录