Disable unknown command message for real

This commit is contained in:
Ville Ranki 2020-02-16 14:49:00 +02:00
parent e841108066
commit bbf782f89e
1 changed files with 3 additions and 2 deletions

5
bot.py
View File

@ -135,8 +135,9 @@ class Bot:
traceback.print_exc(file=sys.stderr) traceback.print_exc(file=sys.stderr)
else: else:
print(f"Unknown command: {command}") print(f"Unknown command: {command}")
await self.send_text(room, # TODO Make this configurable
f"Sorry. I don't know what to do. Execute !help to get a list of available commands.") # await self.send_text(room,
# f"Sorry. I don't know what to do. Execute !help to get a list of available commands.")
@staticmethod @staticmethod
def starts_with_command(body): def starts_with_command(body):