stagger kickbanning

This commit is contained in:
reality 2013-06-05 18:07:19 +00:00
parent 17070adcb6
commit e43b6ea715

View File

@ -48,9 +48,11 @@ var commands = function(dbot) {
channels = dbot.config.servers[server].channels; channels = dbot.config.servers[server].channels;
_.each(channels, function(channel) { _.each(channels, function(channel) {
this.api.ban(server, banee, channel); setTimeout(function(channel) {
this.api.kick(server, banee, channel, reason + this.api.ban(server, banee, channel);
' (network-wide ban requested by ' + banner + ')'); this.api.kick(server, banee, channel, reason +
' (network-wide ban requested by ' + banner + ')');
}, 1000);
}, this); }, this);
var notifyString = dbot.t('nbanned', { var notifyString = dbot.t('nbanned', {