RSS Add Command #531

Open
opened 2025-11-24 21:51:21 +00:00 by Vylpes · 0 comments
Owner

Epic: #528
Story Points:


Create a slash command for moderators to subscribe to RSS feeds

Acceptance Criteria

GIVEN I am a moderator
WHEN I run /rss add url:<URL> channel:<CHANNEL>
THEN a new rss subscription will be added to the database for the feed url <URL> and will be sent to the channel <CHANNEL>

GIVEN I am a moderator
WHEN I run /rss add ...
AND the feed is already added to the channel
THEN an error will occur

GIVEN I am a moderator
WHEN I run /rss add ...
AND the feed can't be fetched
THEN an error will occur

Subtasks

  • Create /rss add command in src/commands/
  • Validate RSS feed URL and test connectivity
  • Save feed subscription to database
  • Send confirmation embed to user
  • Add error handling for duplicate feeds and invalid URLs
  • Update tests

Notes

  • /rss add parameters are: url (string, required), channel (channel, required)
  • Only a moderator can use this command
Epic: #528 Story Points: --- Create a slash command for moderators to subscribe to RSS feeds ## Acceptance Criteria GIVEN I am a moderator WHEN I run `/rss add url:<URL> channel:<CHANNEL>` THEN a new rss subscription will be added to the database for the feed url `<URL>` and will be sent to the channel `<CHANNEL>` GIVEN I am a moderator WHEN I run `/rss add ...` AND the feed is already added to the channel THEN an error will occur GIVEN I am a moderator WHEN I run `/rss add ...` AND the feed can't be fetched THEN an error will occur ## Subtasks - [ ] Create `/rss add` command in `src/commands/` - [ ] Validate RSS feed URL and test connectivity - [ ] Save feed subscription to database - [ ] Send confirmation embed to user - [ ] Add error handling for duplicate feeds and invalid URLs - [ ] Update tests ## Notes - `/rss add` parameters are: `url` (string, required), `channel` (channel, required) - Only a moderator can use this command
Vylpes added this to the 3.4.0 milestone 2025-11-24 22:17:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#532 RSS Remove Command
RabbitLabs/vylbot-app
#533 RSS List Command
RabbitLabs/vylbot-app
Depends on
#530 RSS Feed Parser Service
RabbitLabs/vylbot-app
Reference
RabbitLabs/vylbot-app#531
No description provided.