ShardSocketCloseCodes
@discordeno/bot • Docs
Documentation / @discordeno/bot / ShardSocketCloseCodes
Enumeration: ShardSocketCloseCodes
Enumeration Members
ReIdentifying
ReIdentifying:
3066
Shard is re-identifying therefore the old connection needs to be closed.
Defined in
packages/gateway/dist/types/types.d.ts:162
Resharded
Resharded:
3065
Special close code reserved for Discordeno's zero-downtime resharding system.
Defined in
packages/gateway/dist/types/types.d.ts:160
ResumeClosingOldConnection
ResumeClosingOldConnection:
3024
A resume has been requested and therefore the old connection needs to be closed.
Defined in
packages/gateway/dist/types/types.d.ts:151
Shutdown
Shutdown:
3000
A regular Shard shutdown.
Defined in
packages/gateway/dist/types/types.d.ts:149
TestingFinished
TestingFinished:
3064
Discordeno's gateway tests hae been finished, therefore the Shard can be turned off.
Defined in
packages/gateway/dist/types/types.d.ts:158
ZombiedConnection
ZombiedConnection:
3010
Did not receive a heartbeat ACK in time. Closing the shard and creating a new session.
Defined in
packages/gateway/dist/types/types.d.ts:156