1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 01:21:56 +00:00

Update botListApi.js

This commit is contained in:
MatteZ02 2020-04-25 19:20:19 +03:00
parent e39f1dfb62
commit cd15edbedc

View File

@ -11,7 +11,7 @@ module.exports = function (client) {
.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(guildCount * 7, client.shard.ids, client.config.shards);
bod.postStats(guildCount * 7, client.config.shards) bod.postStats(guildCount * 7, client.shard.ids, client.config.shards)
}) })
.catch(console.error); .catch(console.error);
@ -34,6 +34,6 @@ 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.config.shards) bod.postStats(guildCount * 7, client.shard.ids, client.config.shards)
}, 1800000); }, 1800000);
}; };