Update bot_management.py

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

View File

@ -7,7 +7,7 @@ class BotManager:
self.bot = bot self.bot = bot
@commands.command() @commands.command()
async def invite(self, bot_id :discord.Member = None, prefix = None): async def invite(self, ctx, bot_id :discord.Member = None, prefix = None):
if not bot_id: if not bot_id:
raise Warning('You must include the id of the bot you are trying to invite... Be exact.') raise Warning('You must include the id of the bot you are trying to invite... Be exact.')
if not bot_id.bot: if not bot_id.bot: