From 7321413c901c2d19cf4e1e25f637d768e304241a Mon Sep 17 00:00:00 2001 From: davfsa Date: Wed, 20 Jun 2018 20:03:28 +0200 Subject: [PATCH] Update bot_management.py --- src/cogs/bot_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/bot_management.py b/src/cogs/bot_management.py index 0803324..1a58161 100644 --- a/src/cogs/bot_management.py +++ b/src/cogs/bot_management.py @@ -21,7 +21,7 @@ class BotManager: @commands.command() 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: raise Warning('You must include the id of the bot you are trying to invite... Be exact.') if not bot.bot: