Update zalgo logic to remove 'zalgo' from response

- now it should be prettier!
master
josiah 4 years ago
parent fea8bcc7bd
commit a0ee9f1702

@ -96,8 +96,9 @@ def handle_messages(**payload):
for line in json_File:
response.append(json.loads(line))
elif "zalgo" in is_command[1]:
response = zalgo_ify(is_command[1])
# remove zalgo
name_removal = re.sub("^zalgo .*?", "", "is_command[1]")
response = zalgo_ify(name_removal)
elif "pence" in is_command[1]:
response = "mother wouldn't want me to say that"
else:

Loading…
Cancel
Save