3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

batchstatus

This commit is contained in:
reality 2016-02-02 17:31:36 +00:00
parent a107c81ad3
commit a4141288e5

View File

@ -92,6 +92,9 @@ var commands = function(dbot) {
aliases = [], aliases = [],
reportsFound = []; reportsFound = [];
nicks.splice(0, 1); nicks.splice(0, 1);
_.each(nicks, function(nick, i) {
nicks[i] = nick.replace(/,/g,'');
});
async.eachSeries(nicks, function(nick, next) { async.eachSeries(nicks, function(nick, next) {
dbot.api.users.resolveUser(event.server, nick, function(err, user) { dbot.api.users.resolveUser(event.server, nick, function(err, user) {