xonecas.io
336
Si

sinfo-talk / commit f8e50e5

use volunteer instead of paiva

xonecas2018-02-28 f8e50e5c526bcc3530363429e4358dcc6d63beb9 parent 02d3544

1 file changed

sms_and_voice.py+2−3
@@ -7,7 +7,6 @@ from twilio.rest import Client
77 secrets = None
88 barata = None
99 jpaiva = None
10-
1110 volunteer = None
1211
1312 with open(".secrets.json") as json_file:
@@ -48,7 +47,7 @@ print sms_number.sid
4847
4948 # Send the text
5049 client.messages.create(
51- to=jpaiva,
50+ to=volunteer,
5251 from_=sms_number.phone_number,
5352 body="Hey there, this is a test, can you tell me on Slack if you got it?"
5453 )
@@ -69,7 +68,7 @@ print voice_number.sid
6968
7069 # Send a voice call audio stolen from Twilio with 💖
7170 call = client.calls.create(
72- to=jpaiva,
71+ to=volunteer,
7372 from_=voice_number.phone_number,
7473 url="http://demo.twilio.com/docs/voice.xml"
7574 )