Skip to content

Discord RSS bot with customizable feeds

License

Notifications You must be signed in to change notification settings

slemanboys/Discord.RSS

 
 

Repository files navigation

Discord.RSS

This is the core repository of Discord.RSS. For users who want to clone this repository for personal use, see https://github.com/synzen/Discord.RSS-Clone.

For the web interface, see https://github.com/synzen/Discord.RSS-Web.


Driven by the lack of comprehensive RSS bots available, I have decided to try my hand at creating one of my own. Designed with as much customization as possible for both users and bot hosters, while also (or should be) easy to understand.

All documentation can be found at https://docs.discordrss.xyz.

Looking for a non-Discord version of this bot? See https://github.com/synzen/feedtracker

Publicly Hosted Instance

Don't want to bother hosting your own instance? Use the publicly hosted one!

Website:

https://discordrss.xyz

Bot Invite:

https://discordapp.com/oauth2/authorize?client_id=268478587651358721&scope=bot&permissions=19456

Quick Start

Please note that this is for dev branch. For a stable experience, switch to master branch instead.

npm install synzen/discord.rss#dev
const DiscordRSS = require('discord.rss')

// Some configs are mandatory - refer to documentation
const config = {
  bot: {
    token: 'abc123'
  },
  database: {
    // Can be mongodb or folder URI
    uri: 'mongodb://localhost/rss'
  }
}

// Optional settings
const settings = {
  setPresence: true,
  config
}

const drss = new DiscordRSS.ClientManager(settings)
drss.login('token')

For best performance, use a mongodb database.uri instead of a directory.

Contributing

Read the contribution guidelines. All the latest updates are commited to the dev branch.

Testing

Run npm test

Locales

To add or contribute to menu translations (locales):

  1. If the locale JSON doesn't exist in src/locales, create one by running npm run locale-create
  2. Open the relevant locale file in src/locales
  3. Add your translations (use the en-US.json locale as reference)
  4. Verify your file(s) by running npm run locale-verify and make appropriate fixes
  5. Make a pull request for your changes!

About

Discord RSS bot with customizable feeds

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%