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
Don't want to bother hosting your own instance? Use the publicly hosted one!
https://discordapp.com/oauth2/authorize?client_id=268478587651358721&scope=bot&permissions=19456
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.
Read the contribution guidelines. All the latest updates are commited to the dev branch.
Run npm test
To add or contribute to menu translations (locales):
- If the locale JSON doesn't exist in src/locales, create one by running
npm run locale-create
- Open the relevant locale file in src/locales
- Add your translations (use the en-US.json locale as reference)
- Verify your file(s) by running
npm run locale-verify
and make appropriate fixes - Make a pull request for your changes!