Files
Emmelia-Link-Flayer-Rewrite/README.md
2021-03-18 19:40:57 -05:00

1.2 KiB

Link-Flayer

Discord RSS News Bot

Link Flayer is a Discord Bot designed to provide your Discord server with news.

Setup

Example: config.json 
{
	"prefix": "!",
	"token": "{Your Discord Bot Token Here}"
}
  • Configure your feeds.json: Each node with a "title" and "link" attribute.
Example: feeds.json 
[
    {
	    "title": "CNN Top Stories",
	    "link": "http://rss.cnn.com/rss/cnn_topstories.rss"
    },
    {
	    "title": "Reddit Front Page",
	    "link": "http://www.reddit.com/.rss"
    },
    {
	    "title": "Arstechnica",
	    "link": "http://feeds.arstechnica.com/arstechnica/index"
    }
    
]

Usage

  • npm run start or node index.js

Available Commands

  • !help - Lists the available commands: !help

  • !search - Searches the RSS Sources: !search google

  • !get - Retrieves Search By Index: !get 25

  • !add - Add a new RSS Source Feed dynamically: !add http://www.engadget.com/rss.xml

  • !update - Updates all current RSS Feeds: !update