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
This commit is contained in:
NoLogicAlan committed 2026-10-28 02:26:07 +03:00
1 parent 3b9620012f
commit bf376c8861
1 file changed
+1
+1
View File
@@ -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;