diff options
author | 2020-08-25 19:07:18 +0100 | |
---|---|---|
committer | 2020-08-25 19:07:18 +0100 | |
commit | 919ed1f87c2a7933d202814c1311debf3c6cdc4e (patch) | |
tree | 40ac47db14d6f7f3de7cf338de35a74e1df120ff | |
parent | Add opt-in/opt-out commands (diff) |
Update in channel check to equality
-rw-r--r-- | metricity/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metricity/bot.py b/metricity/bot.py index 84ee05b..476404e 100644 --- a/metricity/bot.py +++ b/metricity/bot.py @@ -248,7 +248,7 @@ async def on_message(message: DiscordMessage) -> None: created_at=message.created_at ) - if message.channel.id in BotConfig.bot_commands_channel: + if message.channel.id == BotConfig.bot_commands_channel: await bot.process_commands(message) |