Twitter Reply Bot
A bot that automatically replies with funny memes everytime Elon Musk tweets.
To run the bot
-
Create a Twitter app
-
Put Twitter app credentials in
.env.sample
& rename it to.env
. -
Find your Twitter User ID here.
-
Put your User ID & Twitter Username in settings by changing
settings.personal
indb.json
. -
Add target User IDs by changing
settings.userIdsToStream
indb.json
. These are User IDs of people you will be replying with memes to.
Examples: Elon Musk - 44196397, MKBHD - 29873662
-
Add your own memes with updated id (increment it by 1 and maintain the sequence), you may also add Image/Video URLs, tweet text, and target usernames (use
*
to target all target User IDs). KeepisSent
tofalse
when adding a new meme else it won't be tweeted. -
Run the below commands to start the bot.
npm i
npm start
📝 License
MIT © Kumar Abhirup