t'aime ça les patch! (commande slap)

This commit is contained in:
BFlow 2019-11-19 17:22:17 +01:00
parent 8807aeec95
commit 51743bc786

View file

@ -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: