mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
Update botListApi.js
This commit is contained in:
parent
b33b82936d
commit
83b449e17f
@ -9,8 +9,8 @@ module.exports = function (client) {
|
|||||||
.broadcastEval("this.guilds.cache.size")
|
.broadcastEval("this.guilds.cache.size")
|
||||||
.then((results) => {
|
.then((results) => {
|
||||||
guildCount = results.reduce((prev, val) => prev + val, 0);
|
guildCount = results.reduce((prev, val) => prev + val, 0);
|
||||||
dbl.postStats(guildCount * 7, client.shard.ids, client.config.shards);
|
dbl.postStats(0, client.shard.ids, client.config.shards);
|
||||||
bod.postStats(guildCount * 7, client.shard.ids, client.config.shards);
|
bod.postStats(0, client.shard.ids, client.config.shards);
|
||||||
})
|
})
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ module.exports = function (client) {
|
|||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
dbl.postStats(guildCount * 7, client.shard.ids, client.config.shards);
|
/*dbl.postStats(guildCount * 7, client.shard.ids, client.config.shards);
|
||||||
bod.postStats(guildCount * 7, client.shard.ids, client.config.shards)
|
bod.postStats(guildCount * 7, client.shard.ids, client.config.shards)*/
|
||||||
}, 1800000);
|
}, 1800000);
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user