Created
October 30, 2016 23:58
-
-
Save wray/51989f04744147f4e7c94cebb0d038a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put your commands here | |
COMMAND1 = "" | |
# Your handling code goes in this function | |
def handle_command(command): | |
""" | |
Determine if the command is valid. If so, take action and return | |
a response, if necessary. | |
""" | |
response = "" | |
if command.find(COMMAND1) >= 0: | |
response = "Huh?" | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment