Skip to content

A bot to simulate Twitter from a Discord text channel.

Notifications You must be signed in to change notification settings

NBTX/discord-twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Bot

A bot to simulate Twitter from a Discord text channel.

Instructions

  • Use t.toggle to enable the bot in a given channel.
  • Use t.invite to get an invite link for the bot.

Setting up for yourself

  1. Obtain a Discord bot token.
  2. Setup and host the Image Upload Script (see below).
  3. Clone the repository and rename config.dist.json to config.json.
  4. Add your token to config.json (twitter.token).
  5. Add the URL of your image host script to config.json - with the token in the GET parameter. (twitter.postURL)
  6. Add the directory where the tweet images are stored, with the trailing slash (/) (twitter.postHostURL).
  7. Start the bot with npm start.

Image Upload Script

See /server.

About

A bot to simulate Twitter from a Discord text channel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published