Latest
enum ShardSocketCloseCodes
import { ShardSocketCloseCodes } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/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.

import ShardSocketCloseCodes
import { ShardSocketCloseCodes } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";