forked from GitHub/dbot
lol live debugging
This commit is contained in:
parent
5d4faadc88
commit
e11893c0ef
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user