DiscordReady
Documentation / @discordeno/bot / DiscordReady
Interface: DiscordReady
Defined in: packages/types/dist/types/discord.d.ts:2812
https://discord.com/developers/docs/events/gateway#ready
Properties
application
application:
Partial
<DiscordApplication
> &Pick
<DiscordApplication
,"id"
|"flags"
>
Defined in: packages/types/dist/types/discord.d.ts:2826
Contains id and flags
guilds
guilds:
DiscordUnavailableGuild
[]
Defined in: packages/types/dist/types/discord.d.ts:2818
The guilds the user is in
resume_gateway_url
resume_gateway_url:
string
Defined in: packages/types/dist/types/discord.d.ts:2822
Gateway url for resuming connections
session_id
session_id:
string
Defined in: packages/types/dist/types/discord.d.ts:2820
Used for resuming connections
shard?
optional
shard: [number
,number
]
Defined in: packages/types/dist/types/discord.d.ts:2824
The shard information associated with this session, if sent when identifying
user
user:
DiscordUser
Defined in: packages/types/dist/types/discord.d.ts:2816
Information about the user including email
v
v:
number
Defined in: packages/types/dist/types/discord.d.ts:2814
Gateway version