Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def send_sms_question(command, channel):
data = command.split(" ", 2) # maxsplit
question = pytill.make_question(data[2], channel, PUBLIC_ADDR + WEBHOOK_ADDR)
pytill.send_question([data[1]], [question], "{}-tag".format(data[2]))
response = "Question sent to {} listening for answers...".format(data[1])
return response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.