slack-modlog

0.1.0 • Public • Published

Overview

slack-modlog is a service that broadcasts important events from a subreddit's moderator log to a Slack webhook.

Installation

npm install -g slack-modlog

Configuration

  1. Make a copy of config.json.example and call it config.json
  2. Use reddit-oauth-helper to create a new reddit app and obtain a client_id, client_secret and refresh_token
  3. Put client_id, client_secret and refresh_token in config.json along with the subreddit you'd like the service to monitor
  4. Create an incoming webhook in Slack
  5. Put the url for your slack_webhook_url into config.json

Running

slack-modlog

Package Sidebar

Install

npm i slack-modlog

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • babbles_mcdrinksalot