Update bot_management.py

This commit is contained in:
davfsa 2018-06-16 11:23:38 +02:00 committed by GitHub
parent 86521e8e50
commit 7ce9b3dd52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,14 +21,13 @@ class BotManager:
em.colour(self.bot.embed_color) em.colour(self.bot.embed_color)
await ctx.send(embed = em) await ctx.send(embed = em)
em = discord.Embed() em = discord.Embed(title = "Bot invite", colour=discord.Color(0x363941))
em.colour(discord.Color(0x363941)) em.set_thumbnail(url=bot_id.avatar_url)
em.set_thumbnail(url=ctx.author.avatar_url)
em.add_field(name="Bot name", value=bot_id.name) em.add_field(name="Bot name", value=bot_id.name)
em.add_field(name="Bot id", value="`" + str(bot_id.id) + "`") em.add_field(name="Bot id", value="`" + str(bot_id.id) + "`")
em.add_field(name="Bot owner", value=ctx.author.mention) em.add_field(name="Bot owner", value=ctx.author.mention)
em.add_field(name="Bot prefix", value="`" + prefix + "`") em.add_field(name="Bot prefix", value="`" + prefix + "`")
await ctx.bot.get_channe(448803675574370304).send(embed = em) await ctx.bot.get_channel(448803675574370304).send(embed = em)
@commands.command(name='claim', aliases=['makemine', 'gimme']) @commands.command(name='claim', aliases=['makemine', 'gimme'])
@commands.cooldown(1, 5, commands.BucketType.user) @commands.cooldown(1, 5, commands.BucketType.user)