Skip to content

A simple Node.js bot to retrieve posts and quoted retweets from a Twitter user and post these to a Discord channel.

Notifications You must be signed in to change notification settings

TheLightningStrikes/tweetbot-for-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweetbot for Discord

A simple Node.js bot to retrieve posts and quoted retweets from a Twitter user and post these to a Discord channel.

Table of contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To install the code you will need Node.js. See package.json for the minimum Node.js version.

To query Twitter you will need to create an app through the Twitter Developer Portal.

You will need to create a Discord webhook to set up your channel and bot.

Installation

Pull the code from GitHub.

Check out the example configuration file and set up a config.js file in the same directory with your settings.

You need a configuration file or the code won't run.

Alternatively you can set up multiple configurations by using the CONFIG_FILE environment variable. See Multiple instances setup.

Running the code

Use npm start in a terminal like CMD to run the code.

Multiple instances setup

Run the code multiple times with different configuration files by using the CONFIG_FILE environment variable. Place all configuration files in the config folder and reference just the name of the file in the variable.

Built with

About

A simple Node.js bot to retrieve posts and quoted retweets from a Twitter user and post these to a Discord channel.

Topics

Resources

Stars

Watchers

Forks