1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update botListApi.js

This commit is contained in:
MatteZ02 2020-04-25 19:18:50 +03:00
parent d9b44a3d58
commit e39f1dfb62

View File

@ -11,6 +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)
}) })
.catch(console.error); .catch(console.error);
@ -33,5 +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)
}, 1800000); }, 1800000);
}; };