Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
enum ShardSocketCloseCodes
Re-export
import { ShardSocketCloseCodes } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Members

ReIdentifying = 3066

Shard is re-identifying therefore the old connection needs to be closed.

Resharded = 3065

Special close code reserved for Discordeno's zero-downtime resharding system.

ResumeClosingOldConnection = 3024

A resume has been requested and therefore the old connection needs to be closed.

Shutdown = 3000

A regular Shard shutdown.

TestingFinished = 3064

Discordeno's gateway tests hae been finished, therefore the Shard can be turned off.

ZombiedConnection = 3010

Did not receive a heartbeat ACK in time. Closing the shard and creating a new session.