Disable unknown command message for real
This commit is contained in:
parent
e841108066
commit
bbf782f89e
5
bot.py
5
bot.py
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue