Bridges a Discord channel to SMS.
- Install Node.js
- Run
npm install - Copy
config.sample.jsontoconfig.jsonand fill in the info- You can make a bot at the Discord Developer Portal
- Click
New Applicationin the top right - Click
Botin the sidebar - Click
Add Bot - Click
Copyto copy the token
- Click
- Sign up for Twilio and:
- Create an
Accountfor this - The SID and Auth Token are shown on the account home page
- Get a trial phone number and that'll be your Twilio number
- Go to
Phone numbers->Manage->Active numbersin the sidebar, then click your number - Scroll down to the
Messagingcategory and setA MESSAGE COMES INtoWebhook, a URL that points to your server, andHTTP POST - The Twilio port can be anything,
4501is what I'm using so left it as a default, make sure to use this port in the webhook URL
- Create an
- You can make a bot at the Discord Developer Portal
- Run
npm start
- Install
pm2withnpm install -g pm2 - Start with
pm2 start sms-bot.js