A Twitter bot that posts random Adult Swim bumps.
Since twit.js
ain't workin' on my end, I gotta rewrite the bot usin' the twitter-api-v2
npm module!!
Just download the latest version whenever you can :)
I've also made the bot do Twitter authentication in another file, botAuth.js
, which is now how I authorize clients for my bots...
- Clone the repo -
git clone https://github.com/ktg5/asbumpbot
- Install required packages -
npm i
- Open
auth.json
and replace all the listed keys (api & access) with your own.
- ⚠⚠ Remember to make sure your access keys are "
Created with Read, and Write permissions
" by enabling "User authentication
" in your Twitter app's page!
- Start the bot -
npm start