Skip to content

Commit

Permalink
fix: tracker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Dec 17, 2018
1 parent f1d0dd5 commit 07bd0fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ class Tracker {


if (config.carbon.token && this.shardId === 0) {
this.updateCarbonitex(this.shardUtil)
setInterval(() => this.updateCarbonitex(this.shardUtil), config.updateInterval);
}
if (config.botsDiscordPw.token && config.botsDiscordPw.id) {
this.updateDiscordBotsWeb(this.client.guilds.size)
setInterval(() => this.updateDiscordBotsWeb(this.client.guilds.size), config.updateInterval);
}
if (config.botsDiscordOrg.token && config.botsDiscordOrg.id) {
this.updateDiscordBotsOrg(this.client.guilds.size)
setInterval(() => this.updateDiscordBotsOrg(this.client.guilds.size), config.updateInterval);
}
if (config.cachet.host && config.cachet.token && config.cachet.metricId) {
Expand Down

0 comments on commit 07bd0fa

Please sign in to comment.