Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface DiscordReady
Re-export
import { type DiscordReady } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

Properties

v: number

Gateway version

user: DiscordUser

Information about the user including email

guilds: DiscordUnavailableGuild[]

The guilds the user is in

session_id: string

Used for resuming connections

resume_gateway_url: string

Gateway url for resuming connections

optional
shard: [number, number]

The shard information associated with this session, if sent when identifying

application: Partial<DiscordApplication> & Pick<DiscordApplication, "id" | "flags">

Contains id and flags