nodebb-plugin-slack-notifier
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -15,5 +15,5 @@ "use strict"; | ||
const nconf = module.parent.require('nconf'); | ||
const webHookUri = nconf.get('slackWebUrl'); | ||
const webHookUri = nconf.get('slackWebUrl') || ''; | ||
const channelName = nconf.get('channelName'); | ||
const contentLen = nconf.get('postContentLength'); | ||
const contentLen = nconf.get('postContentLength') || 200; | ||
const user = module.parent.require('./user'); | ||
@@ -20,0 +20,0 @@ const topics = module.parent.require('./topics'); |
{ | ||
"name": "nodebb-plugin-slack-notifier", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Simple nodebb plugin that notify slack about posts", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/lakshmipriyamukundan/nodebb-plugin-slack-notifier#readme", |
# nodebb-plugin-slack-notifier(beta) | ||
Simple nodebb plugin that notify slack about posts | ||
Simple nodebb plugin that notify slack about new posts in forum with slack webhook url api. | ||
@@ -31,9 +31,5 @@ [![npm](https://img.shields.io/npm/v/nodebb-plugin-slack-notifier.svg)](https://www.npmjs.com/package/nodebb-plugin-slack-notifier) | ||
## How it works | ||
Optional | ||
## Usage | ||
Describe usage | ||
Update your 'slackWebUrl', slack 'channelName' and 'postContentLength' in NodeBB config.json file. The plugin will work for you...:) | ||
@@ -40,0 +36,0 @@ ## Change log |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8501
44