From ce3060b079ffcc05c27c7c558d2fb0de6f7f626c Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Fri, 14 Oct 2022 15:12:59 +0000 Subject: [PATCH] fix: shard total log --- template/beginner/src/events/ready.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/beginner/src/events/ready.ts b/template/beginner/src/events/ready.ts index df429f2ee..07165b2f7 100644 --- a/template/beginner/src/events/ready.ts +++ b/template/beginner/src/events/ready.ts @@ -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();