Refactor API message format

This commit is contained in:
R. Richard 2019-08-28 16:31:06 +02:00
parent 21cfaebe8a
commit b4ece4fc51
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class CenatorHandler:
keys = ['history.bash']
def handle_event(self, message, connector): # pylint: disable=no-self-use
command = message['value']
command = message['command']
LOG.debug('User executed command: "%s"', command)
MessageSender(connector).send(f'You\'ve executed "{command}"', originator='JOHN CENA')