diff --git a/modules/generic-command-processor/data.json b/modules/generic-command-processor/data.json index ab44c23..c8f8739 100644 --- a/modules/generic-command-processor/data.json +++ b/modules/generic-command-processor/data.json @@ -1,3 +1,5 @@ { - "s": "Головна сторінка сервера: http://10.1.1.1:12010/" + "s": "Головна сторінка сервера: http://10.1.1.1:12010/", + "пари_для_артема": "🧐", + "пари_для_артема_хоч_і_не_на_завтра": "🤨" } diff --git a/modules/generic-command-processor/index.py b/modules/generic-command-processor/index.py index 6a0d4cf..7c9346c 100644 --- a/modules/generic-command-processor/index.py +++ b/modules/generic-command-processor/index.py @@ -2,5 +2,5 @@ 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] +if received_command.lower() in command_storage: + self.RESPONSE = command_storage[received_command.lower()]