From bf376c88615965ce45bfab6857b133d45af2bb60 Mon Sep 17 00:00:00 2001 From: NoLogicAlan Date: Wed, 28 Oct 2026 02:26:07 +0300 Subject: [PATCH] fix(core): declare module-scoped _locale in ErrorChannel - Fix ReferenceError on boot by declaring let _locale at module scope - Resolves shard crash during initErrorChannel execution --- src/core/ErrorChannel.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ErrorChannel.mjs b/src/core/ErrorChannel.mjs index ab0db72..eae8b37 100644 --- a/src/core/ErrorChannel.mjs +++ b/src/core/ErrorChannel.mjs @@ -46,6 +46,7 @@ let _enabled = false; let _channelId = null; let _token = null; let _client = null; +let _locale = null; let _minIntervalMs = 1_500; let _maxQueue = 40;