From 486838a488142d8cef68e556f669adbbe81ddf85 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Fri, 4 Oct 2019 17:54:50 +0200 Subject: [PATCH] Fix typo --- scripts/chatbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/chatbot.py b/scripts/chatbot.py index f247e69..b188a24 100644 --- a/scripts/chatbot.py +++ b/scripts/chatbot.py @@ -74,7 +74,7 @@ def register_handlers(bot): if channel_id != CHANNEL_ID: print("skipping") return - if not is_shifter(user) and not is_operator(): + if not is_shifter(user) and not is_operator(user): bot.send_message( "Only operators and shifters are allowed to mess " "with me, sorry...", channel_id) -- GitLab