Skip to content

Instantly share code, notes, and snippets.

@jordiup
Last active August 4, 2022 13:15
Show Gist options
  • Save jordiup/9c628e900b8ec0a54686fea48cf96eb6 to your computer and use it in GitHub Desktop.
Save jordiup/9c628e900b8ec0a54686fea48cf96eb6 to your computer and use it in GitHub Desktop.
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