try to fix auto slap

This commit is contained in:
Milka64 2019-11-18 17:12:44 +01:00
parent 4d404baedc
commit 0f997c8168

View file

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