Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 992 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 992 Bytes

HansiRSS

Automatically sends messages in a channel based on new entries in RSS feeds.

Setup

Create a Discord Bot

  1. Create a new Discord Bot Application at the Discord Developer Portal.
  2. Fill out the General Information
  3. Under OAuth2, select "bot" in the Scopes select and then select "Send Messages" in the Bot Permissions.
  4. Use the generated URL at the bottom to invite the Bot to your server.
  5. Under Bot, generate a new Token and enable all three Intents under Privileged Gateway Intents.

Config

  1. In config.py, fill in your Bot Token and Channel ID and edit the update interval to your liking.
  2. Add the RSS Feeds.

url is the link to the RSS Feed.

user is the ID of a user who will be tagged as the author of an article. If no ID is given, the author will be set according to the "Title" of the RSS Feed.

Requirements

pip install -r requirements.txt