Skip to content

Commit

Permalink
fix(bot): sort shards in shardinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Jan 15, 2025
1 parent cfdd08a commit 56b346e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/bot/src/textCommands/shardinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default class ShardInfoCommand extends TextCommand {
.length.toLocaleString()} shards\n` +
` | Status | Guilds | Latency | Uptime | Recordings | RWA\n` +
res
.sort((a, b) => a.id - b.id)
.map(
(shard) =>
`${shard.id === parseInt(process.env.SHARD_ID!) ? '>' : ' '} [${shard.id.toString().padStart(3, ' ')}]: ${(
Expand Down

0 comments on commit 56b346e

Please sign in to comment.