diff --git a/src/cogs/bot_management.py b/src/cogs/bot_management.py index 14287ee..0803324 100644 --- a/src/cogs/bot_management.py +++ b/src/cogs/bot_management.py @@ -20,7 +20,8 @@ class BotManager: pass @commands.command() - async def invite(self, ctx, bot: discord.User=None, prefix=None): + async def invite(self, ctx, bot=None, prefix=None): + bot = 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: