/hubot-tucker

Malcolm Tucker quote provider for Hubot

Primary LanguageJavaScriptMIT LicenseMIT

Hubot Tucker

Build Status Coverage Status npm version npm downloads npm recent downloads

Malcolm Tucker quote provider for Hubot created by @ocean.

Great big sweary swearword warning, obviously.

Installation

  1. Add hubot-tucker to your package.json file:
...
"dependencies": {
  "...": "*",
  "hubot": "*",
  "hubot-tucker": "*",
  "...": "*",
}
...
  1. Add hubot-tucker to your external-scripts.json:
["hubot-tucker"]
  1. Run npm install

Usage

Your Hubot will now respond with a highly inappropriate, uniquely-Malcolm Tuckeresque insult whenever addressed with the right phrases:

  • "Hubot tucker <name or me>" - abuse <name> or be the target of some hopefully uplifting abuse yourself
  • "Tucker", Malcolm" or "Malc" words mentioned - general abuse is hurled at the chat room (case insensitive, and literally insensitive).

Configuration variables

  • HUBOT_TUCKER_OFF - if you need to quickly and simply switch Malcolm off completely, set this to true or 1 and this Hubot script will only judge you silently, instead of loudly in public.

  • HUBOT_LESS_MALCOLM - if you wish Hubot to not respond with a quote when the name "Malc" or "Malcolm" is mentioned (say because you have someone in your team called Malcolm, or because your country gets a new Prime Minister and your colleagues chat about politics a lot ;-) then set HUBOT_LESS_MALCOLM to true or 1 and Hubot will ignore these words.

  • HUBOT_TUCKER_BYLINE - if some members of your chat room are perplexed about the abuse Hubot is hurling and who this Malcolm person is, set this to true or 1 and Hubot will sign each pithy general abuse epithet with a byline, "-- Malcolm Tucker".

Credits

Many thanks to arsenio, who created the original Hubot script, and danriti as this was forked from his hubot-bofh script.

Also thanks to chrisatomix who suggested the byline feature.

The included quotes were compiled from various sources around the Internet, including:

Drew Robinson, @ocean.