JSPM

hubot-welcome

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q14783F
  • License MPL-2.0

Welcome IRC visitors to your IRC channel

Package Exports

  • hubot-welcome

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hubot-welcome) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hubot Welcome

A hubot script for welcoming users to your IRC channel.

See src/welcome.coffee for full documentation.

This contains some code/logic borrowed from the excellent hubot-contributejson project.

Designed specifically for use with the hubot IRC adaptor.

Features

  • Will greet a new user who enters the IRC channel.
  • Remembers every nick it sees (even nick changes) and won't greet anyone twice (remembers over a restart as well if a persistent brain is used).
  • Discovers who's in a channel when it joins and won't welcome any of them if they rejoin.

Installation

In your hubot project repo, run:

npm install hubot-welcome --save

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

[
  "hubot-welcome"
]

NOTE

It is highly recommended that you use a persistent hubot brain store (like hubot-redis-brain).