Skip to content

FinalBossXD/Discord-Bot-Twitter-Live

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Bot-Twitter-Live

A discord bot which send to discord links from selected twitter users
We assume you have node installed (I used v7.10) THIS IS CURRENTLY RUNNING ON MY RASPBERRY PI 3

1- just go to https://discordapp.com/ (login/register) then go to developers
2- APPLICATIONS > My Apps > new apps
3- set your app name and so on + Create a Bot User (keep this tab open , you will have to copy the bot's token)
4- go to https://discordapi.com/permissions and paste your APP DETAILS > Client ID in the input field, in the mean time choose the permissions you'll need, the admin of your discord server will have to accept those permissions by click on the generated link and filling the form
5- you might have to create a twitter account from this point
6- create your app on https://apps.twitter.com/ > create new App (https://apps.twitter.com/app/new)
7- set everything you need, and keep this tab open you'll need some informations (keys and access tokens) to fill the blank in my .js file
8- Now you can donwload / clone the repo
9- Fill the blanks in the main .js file
10- time to npm install and so on
11- you'll need a twitch client_id to ask the kraken api if your stream is LIVE . grab one here : https://dev.twitch.tv/
12- node bot.js
13- feel free to run it thanks to pm2 or forever eg : https://www.youtube.com/watch?v=RF6Dzwwpduo

About

little bot for a discord server , first aimed to display new tweets

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%