1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-07-15 14:45: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:
Sam 2022-02-25 14:10:31 +01:00 committed by GitHub
parent c0bfc217ca
commit 23f5771325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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