Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rssbot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rssbot

Turn your Discord server into a RSS feed

  • 1.1.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EasyDiscordRSS

Turn your Discord server into a rss feed

Quick Start

Follow these two instructions to add a bot to your server.

  1. Create bot application
  2. Add bot to server

Rembember to select both bot and applications.commands for the OAuth2 URL generator.

You should note down the token, client id, public key, and the server id as they will be needed own the initial registration of slash commands.

npm i -g rssbot
rssbot register # register slash commands
rssbot run

If everything went well then the bot should be up and running and typing /rss in any channel will show a list of all available commands.

Add RRS Feed To Channel

/rss add name url
  • name: should be unique
  • url: usually just the base url with /rss or /feed

Remove RRS Feed From Channel

/rss rem name

Use In Your Own Project

npm i rssbot
registerInteractions(opts) // register slash commands
const bot = new RSSBot("token") // create and start bot
bot.client // standard Discord client

Turn any site into a rssbot compatable source by extending the Feed class.

class SomeRandomSiteFeed extends Feed {
	async _fetch(): Promise<Post> {
		/*
        get site data and scrape
        */
	}
}

bot.addCustomFeed(new CustomSiteFeed())

The custom feed will then be available with

/feed add name

Keywords

FAQs

Package last updated on 07 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc