1.0.2 • Published 8 years ago

hubot-boubou v1.0.2

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

hubot-boubou

Make hubot response 寶寶 style

You   : 寶寶知道 Github 嗎?

Hubot : 寶寶知道 Github,只是寶寶不說
You   : 寶寶還好嗎?

Hubot : 寶寶心裡苦,只是寶寶不說
You   : 今天發生地震,好恐怖啊

Hubot : 嚇死寶寶了

Installation

  1. In hubot project repo, run: npm install hubot-boubou --save
  2. Add hubot-boubou to your external-scripts.json:
[
  "hubot-boubou"
]

Commands:

  • 寶寶知道<something>嗎? -> 寶寶知道<something>,只是寶寶不說

Actual regex: /寶寶[還你妳]?(知道|喜歡|討厭|愛吃)(.*)嗎[\??]?/i

  • 寶寶還好嗎? -> 寶寶心裡苦,只是寶寶不說

Actual regex: /寶寶[還你妳]好嗎[\??]?/i

  • 好可怕啊 -> 嚇死寶寶了

Actual regex: /.*[好太真很]?(可怕|恐怖|詭異|奇怪)啊?.*/i

1.0.2

8 years ago

1.0.0

8 years ago