From 0772281ab2a3d4a4b892f610b6c3f874be0d0121 Mon Sep 17 00:00:00 2001 From: davfsa Date: Sat, 16 Jun 2018 10:56:57 +0200 Subject: [PATCH] Fixed indentaion errors --- src/cogs/bot_management.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cogs/bot_management.py b/src/cogs/bot_management.py index 6765fde..66091c7 100644 --- a/src/cogs/bot_management.py +++ b/src/cogs/bot_management.py @@ -7,15 +7,15 @@ class BotManager: self.bot = bot @commands.command() - async def invite(self, bot_id :discord.Member = None, prefix = None) + async def invite(self, bot_id :discord.Member = None, prefix = None): em = discord.Embed() if not bot: - raise Warning('You must include the id of the bot you are trying to invite... Be exact.') - if not bot.bot: - raise Warning('You can only invite bots.') - if not prefix: - raise Warning('Please provide a prefix') + raise Warning('You must include the id of the bot you are trying to invite... Be exact.') + if not bot.bot: + raise Warning('You can only invite bots.') + if not prefix: + raise Warning('Please provide a prefix') em.name("Hello {},".format(ctx.author.name)) em.description("Thanks for inviting your bot! It will be tested and invited shortly. Please open your DMs if they are not already so the bot can contact you to inform you about the progress of the bot!")