From 830bdcdc5d0f371318bcd2ce5da9e873142ed30f Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Fri, 4 Oct 2019 17:51:00 +0200 Subject: [PATCH] Fix typo --- scripts/chatbot.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/chatbot.py b/scripts/chatbot.py index 2580496..d1a139f 100644 --- a/scripts/chatbot.py +++ b/scripts/chatbot.py @@ -76,7 +76,8 @@ def register_handlers(bot): return if not is_shifter(user): bot.send_message( - "Only shifters are allowed to mess with me, sorry...") + "Only shifters are allowed to mess with me, sorry...", + channel_id) return status = subprocess.check_output(['supervisorctl', 'status']) bot.send_message(status, channel_id) @@ -86,7 +87,8 @@ def register_handlers(bot): print("skipping") return if not is_operator(user): - bot.send_message("Only operators are allowed to set shifters!") + bot.send_message("Only operators are allowed to set shifters!", + channel_id) return try: with open(CONFIG, 'r') as fobj: -- GitLab