0.3.0 • Published 9 years ago

hubot-newbot v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

hubot-newbot

A Hubot script that spawns new Hubot scripts on the fly. Yo dawg.

Installation

  • Add hubot-newbot to your Hubot's package.json
  • Add hubot-newbot to your Hubot's external-scripts.json
  • Run npm install

Hubot chat commands

hubot newbot FooBot /foo/i (msg) -> msg.send "bar"    # Creates a NewBot named FooBot that responds "bar" to the command "hubot foo".
hubot listenbot FooBot /foo/i (msg) -> msg.send "bar" # Creates a NewBot named FooBot that sends "bar" whenever a message includes "foo".
hubot killbot FooBot                                  # Deletes FooBot by name.
hubot list newbots                                    # Lists names of running newbots.
hubot showbot FooBot                                  # Shows the regex and CoffeeScript body of FooBot.
hubot showbot FooBot --debug                          # Debug mode: Shows the regex and compiled JavaScript for FooBot.

About

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.2.4

9 years ago

0.1.0

9 years ago