discord-bot-rss-feed/README.md

24 lines
899 B
Markdown
Raw Normal View History

2016-10-30 22:58:21 +02:00
# Features
- Posts latest link from RSS feed into specified Discord channel
- Doesn't post the link if it has already been posted in last 100 messages
- Configurable polling interval
# Planned features
- Add checking for >100 messages (currently if 100 messages are sent after posting the link, it will be re-posted straight away because it wont be detected in the previous 100)
- Add checking for link within other messages (currently only checks for messages identical to the link)
# Installation
2016-10-30 22:51:50 +02:00
1. Make sure you have nodejs (v6+) and npm installed
2. Clone repo or download zip and extract somewhere
3. Open a terminal in cloned/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 *botConfig.json* to include your bot token:
`{
"token": "abc123blahblahblahyourtokengoeshere"
2016-10-30 22:51:50 +02:00
}`
7. Run `node feed-bot.js`