Update bot_management.py

This commit is contained in:
davfsa 2018-06-18 08:24:15 +00:00 committed by GitHub
parent 5a01692f6b
commit 5736945447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ class BotManager:
em.colour = self.bot.error_color em.colour = self.bot.error_color
em.title = 'Bot Not Found' em.title = 'Bot Not Found'
em.description = 'That bot is not claimed' em.description = 'That bot is not claimed'
elif existing['owner'] != ctx.author.id and not ctx.author.guild_permissions.manage_guild: elif existing['owner'] != ctx.author.id and ctx.author.guild_permissions.manage_guild:
em.colour = self.bot.error_color em.colour = self.bot.error_color
em.title = 'Not Claimed By You' em.title = 'Not Claimed By You'
em.description = 'That bot is claimed by someone else.\n' \ em.description = 'That bot is claimed by someone else.\n' \