From bbf782f89ede8aa3c1a049488fa183555a047b60 Mon Sep 17 00:00:00 2001 From: Ville Ranki Date: Sun, 16 Feb 2020 14:49:00 +0200 Subject: [PATCH] Disable unknown command message for real --- bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 8a240f6..a033fb4 100755 --- a/bot.py +++ b/bot.py @@ -135,8 +135,9 @@ class Bot: traceback.print_exc(file=sys.stderr) else: print(f"Unknown command: {command}") - await self.send_text(room, - f"Sorry. I don't know what to do. Execute !help to get a list of available commands.") + # TODO Make this configurable + # await self.send_text(room, + # f"Sorry. I don't know what to do. Execute !help to get a list of available commands.") @staticmethod def starts_with_command(body):