fix bug in message handling
This commit is contained in:
parent
dcf419aa0e
commit
933eb8b3fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue