mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 06:42:54 +00:00 
			
		
		
		
	Refactor API message format
This commit is contained in:
		@@ -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')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user