Skip to content

ocean/hubot-tucker

Repository files navigation

Hubot Tucker

Test 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.

I wouldn't have thought you'd be here if you don't know who Malcolm Tucker is, but in case you don't, he is a character from British BBC political comedy series The Thick of It, created by the masterful Armando Iannucci and brought to life by the amazing Peter Capaldi.

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:

And of course thanks to the BBC, Armando Iannucci, and everyone else involved for the creation of the show.

Drew Robinson, @ocean.