kumarabhirup / twitter-reply-bot

A bot that automatically replies with funny memes everytime Elon Musk tweets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 in db.json.

  • Add target User IDs by changing settings.userIdsToStream in db.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). Keep isSent to false 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

Follow me 👋 on TwitterTwitter

About

A bot that automatically replies with funny memes everytime Elon Musk tweets.

License:MIT License


Languages

Language:JavaScript 100.0%