Update pence line to be case-insensitive

master
jowj 6 years ago
parent bc8ba27619
commit f7296568e1

@ -93,7 +93,7 @@ def handle_command(command, channel):
response = line response = line
else: else:
response = "Most recent status failed to write to file :(" response = "Most recent status failed to write to file :("
if "pence" in command: if "pence" in command.lower():
response = "Mother wouldn't want me to say that" response = "Mother wouldn't want me to say that"
# Sends the response back to the channel # Sends the response back to the channel

Loading…
Cancel
Save