mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
idk
This commit is contained in:
parent
1cbb57e519
commit
b5bb0af0da
@ -28,9 +28,7 @@ var commands = function(dbot) {
|
|||||||
} else {
|
} else {
|
||||||
this.api.unquiet(server, this.hosts[server][quietee], channel);
|
this.api.unquiet(server, this.hosts[server][quietee], channel);
|
||||||
}
|
}
|
||||||
if(vStatus === true) {
|
|
||||||
this.api.voice(server, quietee, channel);
|
this.api.voice(server, quietee, channel);
|
||||||
}
|
|
||||||
|
|
||||||
dbot.api.users.resolveUser(server, dbot.config.name, function(err, user) {
|
dbot.api.users.resolveUser(server, dbot.config.name, function(err, user) {
|
||||||
dbot.api.report.notify('unquiet', server, user, channel,
|
dbot.api.report.notify('unquiet', server, user, channel,
|
||||||
@ -63,9 +61,7 @@ var commands = function(dbot) {
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(dbot.instance.connections[server].channels[channel].nicks[quietee].voice === true) {
|
|
||||||
this.api.devoice(server, quietee, channel);
|
this.api.devoice(server, quietee, channel);
|
||||||
}
|
|
||||||
|
|
||||||
if(_.include(this.config.quietBans, channel)) {
|
if(_.include(this.config.quietBans, channel)) {
|
||||||
this.api.ban(server, this.hosts[server][quietee], channel);
|
this.api.ban(server, this.hosts[server][quietee], channel);
|
||||||
|
Loading…
Reference in New Issue
Block a user