munar-plugin-reddit-feed

2.0.4 • Public • Published

munar-plugin-reddit-feed

Munar plugin that posts about new Reddit posts.

Installation

npm install --save munar-plugin-reddit-feed

Usage

{
  "plugins": [
    ["reddit-feed", {
      // Subreddits to poll. Required.
      "subreddits": ["listentothis", "subredditsimulator"],

      // Channel to send new posts to. Required.
      "output": "slack:random",

      // Message template for new post notifications. "$property" is substituted
      // with the corresponding property on the reddit post object. Some
      // commonly useful examples:
      //   $subreddit - Name of the sub that this post was submitted to.
      //   $title - Post title.
      //   $author - Username of the submitter.
      //   $permalink - Link to the post, excluding "https://reddit.com/".
      //   $id - Post ID, for short links like "https://redd.it/$id".
      // Defaults to:
      "template": "[r/$subreddit] $title https://redd.it/$id",

      // Interval in seconds between polls. Defaults to 60 seconds.
      "interval": 60
    }]
  ]
}

License

ISC

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.4
    0
    • latest

Version History

Package Sidebar

Install

npm i munar-plugin-reddit-feed

Weekly Downloads

0

Version

2.0.4

License

ISC

Unpacked Size

5.64 kB

Total Files

5

Last publish

Collaborators

  • goto-bus-stop