From 86ddb8288e5062f3365ef89d737fa695627dd495 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Fri, 4 Oct 2019 18:13:13 +0200
Subject: [PATCH] Fix

---
 scripts/chatbot.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/chatbot.py b/scripts/chatbot.py
index 24c324b..30551eb 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 "
-- 
GitLab