3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2015-03-24 19:30:46 +00:00
parent ac2f7bbccd
commit 902cbdec3c

View File

@ -112,9 +112,7 @@ var words = function(dbot) {
this.commands['~jimble'].regex = [/^jimble (.+)$/, 2];
this.listener = function(event) {
var matchOne = event.message.match(new RegExp(dbot.config.name +
': should (\\w+) (.+) or (.*)\\?', 'i'));
event.reply(matchOne);
var matchOne = event.message.match(new RegExp(dbot.config.name + ': should (\\w+) (.+) or (.*)\\?', 'i'));
if(matchOne) {
var pre = match[1];
if(pre == 'i' || pre == 'I') {