Skip to content

Latest commit

 

History

History
80 lines (74 loc) · 1.93 KB

File metadata and controls

80 lines (74 loc) · 1.93 KB

Blackbeard

RSS-Feed to Discord Bot.

WORK IN PROGRESS
Things a re expected to change.

Configuration

The app expects a configuration file config.json.

Configuration options

JSON path Type Description Required? Example
$.token String Discord Application Bot Token Yes ✅ "<YOUR_DISCORD_TOKEN>"
$.feeds Array of Objects Rss Feeds to fetch Yes ✅
(Can be empty)
[
  {
    "title": "KSTA",
    "url": "https://feed.ksta.de/feed/rss/region/rhein-erft/index.rss",
    "idKey": "guid"
  }
]
      
$.feeds[:].title String Title of Feed,
will be used in Messages.
Yes ✅
$.feeds[:].url String (URL) Link of Feed Yes ✅
$.feeds[:].idKey String Id of items in RSS-Feed,
usually id or guid
Yes ✅
$.rssChannels Array of Strings IDs of channels that should receive RSS messages. Yes ✅
(Can be empty)
["1234567890987654321"]
$.interval Number (Positive integer) Seconds between each fetch of rss feeds. No ❌
Default: 600
2520