mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
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:
1 parent
3b9620012f
commit
bf376c8861
1 file changed
+1
@@ -46,6 +46,7 @@ let _enabled = false;
|
|||||||
let _channelId = null;
|
let _channelId = null;
|
||||||
let _token = null;
|
let _token = null;
|
||||||
let _client = null;
|
let _client = null;
|
||||||
|
let _locale = null;
|
||||||
let _minIntervalMs = 1_500;
|
let _minIntervalMs = 1_500;
|
||||||
let _maxQueue = 40;
|
let _maxQueue = 40;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user