diff --git a/mojo-rtm/mojo-rtm.py b/mojo-rtm/mojo-rtm.py index e87a9b4..ead259c 100644 --- a/mojo-rtm/mojo-rtm.py +++ b/mojo-rtm/mojo-rtm.py @@ -92,10 +92,10 @@ def handle_messages(**payload): response = "you wouldn't download a car" elif "arke" in is_command[1]: response = [] - with open("/shared/state.json", "r") as json_File: + with open("/shared/alerts.log", "r") as json_File: for line in json_File: response.append(json.loads(line)) - os.remove("/shared/state.json") + os.remove("/shared/alerts.log") elif "zalgo" in is_command[1]: # remove zalgo name_removal = re.sub("^zalgo .*?", "", is_command[1])