You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
benji7425 62cc4cc195 Fixed log file reference errors and crash when failing to send message 4 years ago
.vscode Added vscode launch json for node 5 years ago
.eslintrc.json Replaced all instances of == with === and updated eslint config 4 years ago
.gitignore Added user subscription with subscribers being stored in a json file 4 years ago
CHANGELOG.md Updated changelog 4 years ago
LICENSE Added LICENSE 5 years ago
README.md Updated README to reference releases page 5 years ago
config.json Refactored use of file names to be specified in config 4 years ago
feed-bot.js Fixed log file reference errors and crash when failing to send message 4 years ago
log.js Fixed log file reference errors and crash when failing to send message 4 years ago
package.json Added jsonfile npm package 4 years ago

README.md

Features

  • Posts latest link from RSS feed into specified Discord channel
  • Configurable polling interval
  • Doesn't post the link if it has already been posted in last 100 messages
  • YouTube mode - detects both youtube.com and youtu.be links, and doesn't post again if either have already been posted (BETA)

Feel free to contact me with suggestions and feature requests - if you need a new feature, just let me know and I will see what I can do! (No promises though :p)

Installation

  1. Make sure you have nodejs (v6+) and npm installed
  2. Download the zip from releases and extract
  3. Open a terminal in extracted folder
  4. Run npm install and wait for it to finish
  5. Edit config.json to include your RSS feed and channel ID
  6. Create bot-config.json to include your bot token: { "token": "abc123blahblahblahyourtokengoeshere" }
  7. Run node feed-bot.js