diff options
| author | MounderFod <mounderfod@gmail.com> | 2021-08-29 09:26:53 +0000 |
|---|---|---|
| committer | MounderFod <mounderfod@gmail.com> | 2021-08-29 09:26:53 +0000 |
| commit | e94cf6363469c0fc9b8de58a599d63f1bc8910c4 (patch) | |
| tree | c79d90ff0d51bbdf1a8af6bf94ae9c16aeb65a99 | |
| parent | f8c68fa2ffd9bc964de186014c218411bf5403f0 (diff) | |
| download | tiny-potato-bot-e94cf6363469c0fc9b8de58a599d63f1bc8910c4.tar.gz | |
It is bot, not client!
| -rw-r--r-- | bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |