From 7ce9b3dd5233ef6b4f5d4b07c15c963deb85e23f Mon Sep 17 00:00:00 2001 From: davfsa Date: Sat, 16 Jun 2018 11:23:38 +0200 Subject: [PATCH] Update bot_management.py --- src/cogs/bot_management.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cogs/bot_management.py b/src/cogs/bot_management.py index 085d254..dedd5f6 100644 --- a/src/cogs/bot_management.py +++ b/src/cogs/bot_management.py @@ -21,14 +21,13 @@ class BotManager: em.colour(self.bot.embed_color) await ctx.send(embed = em) - em = discord.Embed() - em.colour(discord.Color(0x363941)) - em.set_thumbnail(url=ctx.author.avatar_url) + em = discord.Embed(title = "Bot invite", colour=discord.Color(0x363941)) + em.set_thumbnail(url=bot_id.avatar_url) 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 owner", value=ctx.author.mention) 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.cooldown(1, 5, commands.BucketType.user)