You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very minor issue, but on a successful closure of a shard's websocket (ie. code 1000), the client will emit "undefined" as a debug event:
[WS => Shard 0] undefined
This happens because at present, in client/websocket/WebSocketManager.js, the close code is only resolved against discord-api-types/v10::GatewayCloseCodes and not also against @discordjs/ws::CloseCodes.
Should ideally be changed to resolve against both.
Code sample
No response
Versions
14.11.0
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered:
Which package is this bug report for?
discord.js
Issue description
Very minor issue, but on a successful closure of a shard's websocket (ie. code 1000), the client will emit "undefined" as a debug event:
[WS => Shard 0] undefined
This happens because at present, in client/websocket/WebSocketManager.js, the close code is only resolved against
discord-api-types/v10::GatewayCloseCodes
and not also against@discordjs/ws::CloseCodes
.Should ideally be changed to resolve against both.
Code sample
No response
Versions
14.11.0
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: