lol live debugging

This commit is contained in:
reality 2013-07-01 17:23:15 +00:00
parent 5d4faadc88
commit e11893c0ef

View File

@ -10,6 +10,8 @@ var commands = function(dbot) {
channel = event.input[1], channel = event.input[1],
quietee = event.input[2]; quietee = event.input[2];
console.log(event.input);
if(!channel) { if(!channel) {
channel = event.channel.name; channel = event.channel.name;
} }
@ -238,7 +240,7 @@ var commands = function(dbot) {
commands['~ckick'].regex = [/^~ckick ([^ ]+) ([^ ]+) (.+)$/, 4]; commands['~ckick'].regex = [/^~ckick ([^ ]+) ([^ ]+) (.+)$/, 4];
commands['~nban'].regex = /^~nban ([\d\.^ ]+)?([^ ]+) (.+)$/; commands['~nban'].regex = /^~nban ([\d\.^ ]+)?([^ ]+) (.+)$/;
commands['~quiet'].regex = /^~quiet ([^ ]+)?([^ ]+)$/; commands['~quiet'].regex = /^~quiet (#[^ ]+ )?([^ ]+)$/;
return commands; return commands;
}; };