Last active
August 4, 2022 13:15
-
-
Save jordiup/9c628e900b8ec0a54686fea48cf96eb6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 twilio from 'twilio'; | |
var accountSid = process.env.TWILIO_ACCOUNT_SID; // Your Account SID from www.twilio.com/console | |
var authToken = process.env.TWILIO_AUTH_TOKEN; // Your Auth Token from www.twilio.com/console | |
export const twilioClient = twilio(accountSid, authToken, { | |
accountSid, | |
}); | |
let aiden = '+61488700798'; | |
const pissOffAiden = async (msg: string[] = []) => { | |
await twilioClient.messages | |
.create({ | |
from: '+14342803733', | |
to: aiden, | |
body: | |
'VrrooO000ddy VROOOOOOoo Vro VRO VRO VRODY!!1111 vrody', | |
}) | |
.then((r) => console.log(r)) | |
.catch((e) => console.error(e)); | |
}; | |
await pissOffAiden(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment