The bot for the Drawingbots Discord server. For now it just sends #plottertwitter tweets to a Discord channel.
- Create an application then a bot on Discord: https://discordapp.com/developers/applications/
- Calculate permissions for your bot here https://discordapi.com/permissions.html#23552
- Create an app for Twitter (your developer account will need to be verified) https://developer.twitter.com
- Copy
.env.dist
to.env
and fill in your credentials for Discord and Twitter. Also, choose twitter keywords (add hash character for hashtags). npm install
node src/index.js
Uncomment this line to list all channels the bot belongs to :
bot.channels.map((chan) => console.log(chan.id, chan.name));