fix: shard total log

This commit is contained in:
Skillz4Killz
2022-10-14 15:12:59 +00:00
parent c1af0c9973
commit ce3060b079
+1 -1
View File
@@ -2,7 +2,7 @@ import { Bot } from "../../bot.ts";
import log from "../utils/logger.ts";
Bot.events.ready = (_, payload) => {
log.info(`[READY] Shard ID ${payload.shardId} of ${Bot.gateway.lastShardId} shards is ready!`);
log.info(`[READY] Shard ID ${payload.shardId} of ${Bot.gateway.lastShardId + 1} shards is ready!`);
if (payload.shardId === Bot.gateway.lastShardId) {
botFullyReady();