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
import zillabyte | |
from twilio.rest import TwilioRestClient | |
def send_text(controller, tup): | |
# Register twilio client | |
twilio_client = TwilioRestClient(tup["twilio_sid"], tup["twilio_auth"]) | |
try: | |
# Send message to recipient and wait 1 second (twilio SMS rate limit) |