diff --git a/scripts/chatbot.py b/scripts/chatbot.py index 53932036d60b9eff116f324f953c52554e3fe88d..e582bdb73a9b2984f54e66af8c09ac241fb11fea 100644 --- a/scripts/chatbot.py +++ b/scripts/chatbot.py @@ -70,7 +70,7 @@ def register_handlers(bot): try: with open(CONFIG, 'r') as fobj: config = toml.load(fobj) - shifters = msg.split("shifters are now ")[1].strip() + shifters = msg.split("shifters are ")[1].strip() config['Alerts']['shifters'] = shifters with open(CONFIG, 'w') as fobj: toml.dump(config, fobj) @@ -88,7 +88,7 @@ def register_handlers(bot): help_str = f""" Hi @{user} I was built to take care of the monitoring alerst. Here is how you can use me: - - `@{BOTNAME} shifters are now cnorris and bspencer` + - `@{BOTNAME} shifters are cnorris and bspencer` -> set the new shifters who I may annoy with chat messages and emails. - `@{BOTNAME} status` -> show some status