Skip to main content
Module

x/denord/mod.ts>IdentifyCommand

🗣 Discord API module
Latest
interface IdentifyCommand
import { type IdentifyCommand } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

token: string

authentication token

properties: IdentifyConnection

connection properties

optional
compress: boolean

whether this connection supports compression of packets (DEFAULT: false)

optional
largeThreshold: integer

value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list (DEFAULT: 50)

optional
shard: [integer, integer]

used for Guild Sharding

optional
presence: UpdateStatusCommand

presence structure for initial presence information

optional
guildSubscriptions: boolean

enables dispatching of guild subscription events (presence and typing events) (DEFAULT: true)

optional
intents: Intent[]

the Gateway Intents you wish to receive