add new module: generic-command-processor
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
command_storage = json.loads(open(self.path + "data.json").read())
|
||||
|
||||
received_command = self.MESSAGE.text[1:]
|
||||
|
||||
if received_command in command_storage:
|
||||
self.RESPONSE = command_storage[received_command]
|
||||
Reference in New Issue
Block a user