From 0f997c8168af1ea73589eb65e584f377162f362a Mon Sep 17 00:00:00 2001 From: Milka64 Date: Mon, 18 Nov 2019 17:12:44 +0100 Subject: [PATCH] try to fix auto slap --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index e95d280..c9665ba 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -90,7 +90,7 @@ class Mybot(commands.Cog): "Descente du coude sur %s", "%s est propulsé par dessus la TROISIEME CORDE!", ] - if not user: + if not user or not ctx.message.mentions: online_members = [] members = ctx.guild.members for member in members: