From ecb11d98bd64fe9a47f40a05258f9c7fc661f133 Mon Sep 17 00:00:00 2001 From: Malix Date: Fri, 1 Mar 2024 09:41:28 +0100 Subject: [PATCH] enhance: readibility --- bot/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/config.go b/bot/config.go index 880f182d..2491e05e 100644 --- a/bot/config.go +++ b/bot/config.go @@ -282,7 +282,7 @@ func BuildClient(token string, cfg *Config, gatewayEventHandlerFunc func(client } shardIDs := make([]int, gatewayBotRs.Shards) - for i := 0; i < gatewayBotRs.Shards-1; i++ { + for i := range shardIDs { shardIDs[i] = i }