diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 1867ebf..849c0c3 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -86,8 +86,8 @@ class Mybot(commands.Cog): @commands.command(help='slap this ass') async def slap(self, ctx, user=None): slap_multiple = [ - "%s prend un coup de pied au cul", - "Descente du coude sur %s", + "%s prend un coup de pied au cul", + "Descente du coude sur %s", "%s est propulsé par dessus la TROISIEME CORDE!", ] if not user or not ctx.message.mentions: @@ -98,6 +98,8 @@ class Mybot(commands.Cog): online_members.append(member) user = random.choice(online_members) user = user.mention + elif ctx.user.mentions: + user = ctx.message.mentions[0] if user == self.bot.user.mention: await ctx.channel.send("je tribuche par terre et je sais pas comment") else: