forked from GitHub/dbot
reality is a dumbass
This commit is contained in:
parent
e11893c0ef
commit
e1fe601269
@ -10,9 +10,7 @@ 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(_.isUndefined(channel)) {
|
||||||
|
|
||||||
if(!channel) {
|
|
||||||
channel = event.channel.name;
|
channel = event.channel.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user