Refactor API message format
This commit is contained in:
parent
21cfaebe8a
commit
b4ece4fc51
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue