Tell Hubot to add or remove a room from HUBOT_HIPCHAT_ROOMS_BLACKLIST
Last updated 5 years ago by atomicframeworks .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-leave 
SYNC missed versions from official npm registry.


A hubot script to leave a room and not return until asked to.

See src/ for full documentation.


In hubot project repo, run:

npm install hubot-leave --save

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



Heroku Credentials

Set environment variables HEROKU_EMAIL and HEROKU_PASSWORD so the bot can maintain the HUBOT_HIPCHAT_ROOMS_BLACKLIST environment variable which controls the rooms not to join on reboot.

Sample Interaction

user1>> hubot leave
hubot>> It's alright user1, I understand...
hubot left the room 
user1>> hubot stay
hubot>> Of course! However, I may have to leave for just a moment...
hubot left the room 
hubot joined the room 


In order to have Hubot remove the room from the blacklist you will have to first invite hubot to the room. Once Hubot is in the room you can tell it to stay which will remove the room the blacklist allowing Hubot to auto join on reboot.

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © |