From e94cf6363469c0fc9b8de58a599d63f1bc8910c4 Mon Sep 17 00:00:00 2001 From: MounderFod Date: Sun, 29 Aug 2021 09:26:53 +0000 Subject: It is bot, not client! --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("") await bot.process_commands(message) -- cgit 1.4.1-2-gfad0