fix bug in message handling

This commit is contained in:
+++ 2020-08-26 19:05:27 +02:00
parent dcf419aa0e
commit 933eb8b3fc

View file

@ -66,7 +66,7 @@ class HackBot(IdleBot):
else:
logging.warning('Unknown command: {}'.format(command))
message = ': '.join((msg['mucnick'],
'{} is not a valid command'.format(msg)))
'"{}" is not a valid command'.format(command)))
self.answer_muc(message)
# only for debugging