mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-08-21 15:54:48 +00:00
gateway: Remove 4003 from fatal close codes (#316)
https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes
This commit is contained in:
parent
c0bfc217ca
commit
23f5771325
|
@ -139,7 +139,6 @@ var DefaultGatewayOpts = ws.GatewayOpts{
|
|||
// the gateway to exit. In other words, it's a list of unrecoverable close
|
||||
// codes.
|
||||
FatalCloseCodes: []int{
|
||||
4003, // not authenticated
|
||||
4004, // authentication failed
|
||||
4010, // invalid shard sent
|
||||
4011, // sharding required
|
||||
|
|
Loading…
Reference in a new issue