diff options
-rw-r--r-- | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py index 8601e9a..cbaafd9 100644 --- a/bot.py +++ b/bot.py @@ -18,7 +18,7 @@ async def on_command_error(ctx, error): @bot.event async def on_message(message): - if client.user.mentioned_in(message): + if bot.user.mentioned_in(message): ctx = await bot.get_context(message) ctx.reply("<irritatered:766468833564688395>") await bot.process_commands(message) |