diff --git a/scripts/chatbot.py b/scripts/chatbot.py index 24c324b3dceeea408af99638b0d278277962b406..30551eb740ed8690c59ee288f1b4dde1c5810cb8 100644 --- a/scripts/chatbot.py +++ b/scripts/chatbot.py @@ -84,6 +84,9 @@ def register_handlers(bot): bot.send_message(status, channel_id) def supervisorctl(msg, user, channel_id): + if channel_id != CHANNEL_ID: + print("skipping") + return if not is_shifter(user) and not is_operator(user): bot.send_message( "Sorry @{}, only operators and shifters are allowed to mess "