mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
idk
This commit is contained in:
parent
ac2f7bbccd
commit
902cbdec3c
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user