Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #498 from jfairley/master
Browse files Browse the repository at this point in the history
adding "done" and "exit" as a utterances for "quit"
  • Loading branch information
Ben Brown authored Mar 9, 2017
2 parents a5055f1 + a7ddd19 commit 53d6a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CoreBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function Botkit(configuration) {
botkit.utterances = {
yes: new RegExp(/^(yes|yea|yup|yep|ya|sure|ok|y|yeah|yah)/i),
no: new RegExp(/^(no|nah|nope|n)/i),
quit: new RegExp(/^(quit|cancel|end|stop|nevermind|never mind)/i)
quit: new RegExp(/^(quit|cancel|end|stop|done|exit|nevermind|never mind)/i)
};

// define some middleware points where custom functions
Expand Down

0 comments on commit 53d6a1f

Please sign in to comment.