Update bot_management.py
This commit is contained in:
parent
c6efae9635
commit
7321413c90
@ -21,7 +21,7 @@ class BotManager:
|
|||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def invite(self, ctx, bot=None, prefix=None):
|
async def invite(self, ctx, bot=None, prefix=None):
|
||||||
bot = ctx.bot.get_user_info(bot)
|
bot = await ctx.bot.get_user_info(bot)
|
||||||
if not bot:
|
if not bot:
|
||||||
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.bot:
|
if not bot.bot:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user