hubot-rocketchat-welcome
Hubot script o welcome new users to Rocket.Chat or a Rocket.Chat room (via a DM as default)
Last updated 4 years ago by timkinnane .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-rocketchat-welcome 
SYNC missed versions from official npm registry.

hubot-rocketchat-welcome

NPM version

Hubot script to welcome new users to Rocket.Chat or a Rocket.Chat room (via a DM as default)

See src/rocketchat-welcome.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-rocketchat-welcome --save

Then add hubot-rocketchat-welcome to your external-scripts.json:

["hubot-rocketchat-welcome"]

Sample Interaction

User joins Rocket.Chat (and default room)

user1>> _Has joined the channel_

Hubot sends DM to welcome user

hubot>> Welcome, I'm @hubot. If you need help just reply with `help`

Configuration

Set environment variables to change behavior

WELCOME_MESSAGE String, what the bot says to new users

DIRECT_WELCOME Bool (default true), welcome users by direct message, instead of posting in the room they joined

GLOBAL_WELCOME Bool (default true), welcome only once per user across all rooms, false will welcome once per room

Current Tags

  • 0.0.1                                ...           latest (4 years ago)

1 Versions

  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |