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

adding "done" and "exit" as a utterances for "quit" #498

Merged
merged 2 commits into from
Mar 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/CoreBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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