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