Skip to content

Instantly share code, notes, and snippets.

@PLaRoche
Created September 11, 2018 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PLaRoche/156aabbee54f5a2f4ba7f46f585e65d9 to your computer and use it in GitHub Desktop.
Save PLaRoche/156aabbee54f5a2f4ba7f46f585e65d9 to your computer and use it in GitHub Desktop.
def send_sms(command):
data = command.split(" ", 2) # maxsplit
pytill.send_message([data[1]], data[2])
response = "Text sent to {}".format(data[1])
return response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment