forked from GitHub/dbot
return after giving command suggestion
This commit is contained in:
parent
7517540cc5
commit
745a763b7f
@ -31,6 +31,7 @@ var command = function(dbot) {
|
|||||||
|
|
||||||
if(closestMatch < 3) {
|
if(closestMatch < 3) {
|
||||||
event.reply(commandName + ' not found. Did you mean ' + winner + '?');
|
event.reply(commandName + ' not found. Did you mean ' + winner + '?');
|
||||||
|
return;
|
||||||
} else if(_.has(dbot.modules, 'quotes')) {
|
} else if(_.has(dbot.modules, 'quotes')) {
|
||||||
commandName = '~';
|
commandName = '~';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user