Skip to content

A Discord bot to forward Tweets from Twitter to Discord !!

Notifications You must be signed in to change notification settings

Mbarmem/MoTwitterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Twitter Bot

A discord bot that sends messages to a channel whenever a specific user tweets using the Twitter Streaming API. Uses the Twit and Discord.js NPM packages.

Installation

Local

  1. Copy files into the VPS using command: git clone https://github.com/Mbarmem/MoTwitterBot.git
  2. Add apt sources list for Nodejs 16 repo: curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -
  3. Install Node.js: sudo apt -y install nodejs
  4. Run npm install
  5. Copy example.env to .env and edit info.
  6. Run node main.js

Docker

  1. Build the docker image using the command: docker build -t mbarmem/motwitterbot:latest .
  2. Push the docker image to repository: docker image push mbarmem/motwitterbot:latest

About

A Discord bot to forward Tweets from Twitter to Discord !!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published