Changed discord.Member to discord.User in invite

This commit is contained in:
davfsa 2018-06-19 22:34:50 +02:00
parent 0fb83df922
commit 5caf602f79

View File

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