Mais slap moi (repatch commande slap)

This commit is contained in:
BFlow 2019-11-19 17:14:30 +01:00
parent 72dbc404a9
commit 8807aeec95

View file

@ -100,6 +100,7 @@ class Mybot(commands.Cog):
user = user.mention user = user.mention
elif ctx.user.mentions: elif ctx.user.mentions:
user = ctx.message.mentions[0] user = ctx.message.mentions[0]
user = user.mention
if user == self.bot.user.mention: if user == self.bot.user.mention:
await ctx.channel.send("je tribuche par terre et je sais pas comment") await ctx.channel.send("je tribuche par terre et je sais pas comment")
else: else: