hubot-slack-community

0.0.1 • Public • Published

slack-hubot-community

Your bot can now welcome users, enforce community limits, and track user stats.

Installation

Simply at hubot-slack-community to your Hubot's external-scripts.json.

Configuration

There is additional configuration required to operate this script.

HUBOT_COMMUNITY_DATABASE_URL

This is required for tracking user stats and enforcing limits.

HUBOT_SLACK_ADMIN_TOKEN

A user token (with admin access) is required to enforce limits. This is in addition to the HUBOT_SLACK_TOKEN required to operate hubot.

HUBOT_COMMUNITY_TEMPLATE_DIR

You can specify a directory which contains the required templates. You will need all templates listed in ./templates of this repo.

HUBOT_COMMUNITY_DISABLE_<WELCOME|TOPIC|LISTEN>

Will disable specific listeners in the bot.

Readme

Keywords

Package Sidebar

Install

npm i hubot-slack-community

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jeffandersen