Skip to content

Commit f3529ba

Browse files
committed
Merge pull request github#1030 from aripollak/calm-down-phrases
Fix bare phrases in calm-down
2 parents 24bf052 + 9a99275 commit f3529ba

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/scripts/calm-down.coffee

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ module.exports = (robot) ->
1616

1717
robot.respond /manatee|calm( me)?/i, (msg) -> msg.send manatee()
1818

19-
robot.hear ///
20-
(calm down)|
21-
(simmer down)|
22-
(that escalated quickly)
23-
///i, (msg) -> msg.send manatee()
19+
robot.hear /calm down|simmer down|that escalated quickly/i, (msg) ->
20+
msg.send manatee()
2421

2522
unless process.env.HUBOT_LESS_MANATEES
2623
robot.hear ///

0 commit comments

Comments
 (0)