diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 4e0b755..1f35847 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -98,7 +98,7 @@ class Mybot(commands.Cog): online_members.append(member) user = random.choice(online_members) user = user.mention - elif ctx.user.mentions: + elif ctx.message.mentions: user = ctx.message.mentions[0] user = user.mention if user == self.bot.user.mention: