Changed discord.Member to discord.User in invite
This commit is contained in:
parent
0fb83df922
commit
5caf602f79
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user