From 933eb8b3fce9697ffabf5082dbe1c01a2c5a43be Mon Sep 17 00:00:00 2001 From: +++ Date: Wed, 26 Aug 2020 19:05:27 +0200 Subject: [PATCH] fix bug in message handling --- hackbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hackbot.py b/hackbot.py index 61055c9..ca2fac6 100644 --- a/hackbot.py +++ b/hackbot.py @@ -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