Skip to main content
Module

x/discordeno/mod.ts>ShardSocketCloseCodes

Discord API library for Deno
Extremely Popular
Go to Latest
enum ShardSocketCloseCodes
Re-export
import { ShardSocketCloseCodes } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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.