mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-13 06:57:17 +00:00
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
Block a user