t'aime ça les patch! (commande slap)
This commit is contained in:
parent
8807aeec95
commit
51743bc786
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Mybot(commands.Cog):
|
|||
online_members.append(member)
|
||||
user = random.choice(online_members)
|
||||
user = user.mention
|
||||
elif ctx.user.mentions:
|
||||
elif ctx.message.mentions:
|
||||
user = ctx.message.mentions[0]
|
||||
user = user.mention
|
||||
if user == self.bot.user.mention:
|
||||
|
|
Loading…
Reference in a new issue