Skip to content

Commit

Permalink
fix; fix influx reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Apr 14, 2024
1 parent ed650d2 commit 12292fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/bot/src/influx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ async function collect() {
if (serverMap[shardID]) serverMap[shardID] += 1;
else serverMap[shardID] = 1;
});
dexareClient.bot.unavailableGuilds.map((guild) => {
const shardID = String(guild.shard.id);
dexareClient.bot.unavailableGuilds.map(() => {
const shardID = process.env.SHARD_ID!;
if (unavailableServerMap[shardID]) unavailableServerMap[shardID] += 1;
else unavailableServerMap[shardID] = 1;
});
Expand Down

0 comments on commit 12292fa

Please sign in to comment.