Mais slap moi (patch commande slap)
This commit is contained in:
parent
9681bb6067
commit
72dbc404a9
1 changed files with 4 additions and 2 deletions
|
@ -98,6 +98,8 @@ class Mybot(commands.Cog):
|
||||||
online_members.append(member)
|
online_members.append(member)
|
||||||
user = random.choice(online_members)
|
user = random.choice(online_members)
|
||||||
user = user.mention
|
user = user.mention
|
||||||
|
elif ctx.user.mentions:
|
||||||
|
user = ctx.message.mentions[0]
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue