interface GatewayGuildCreateDispatchData

extends

APIGuild
external
export interface GatewayGuildCreateDispatchData extends APIGuild

See also: https://discord.com/developers/docs/topics/gateway-events#guild-createhttps://discord.com/developers/docs/topics/gateway-events#guild-create-guild-create-extra-fields

external
channels : (APIChannel & { type: Exclude<GuildChannelType, ThreadChannelType>; })[]

Channels in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/channel#channel-object

external
guild_scheduled_events : APIGuildScheduledEvent[]

The scheduled events in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object

external
joined_at : string

When this guild was joined at**This field is only sent within the GUILD_CREATE event**

external
large : boolean

true if this is considered a large guild**This field is only sent within the GUILD_CREATE event**

external
member_count : number

Total number of members in this guild**This field is only sent within the GUILD_CREATE event**

external
members : APIGuildMember[]

Users in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/guild#guild-member-object

external
presences : GatewayPresenceUpdate[]

Presences of the members in the guild, will only include non-offline members if the size is greater than large_threshold**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/topics/gateway-events#presence-update

external
soundboard_sounds : APISoundboardSound[]

The soundboard sounds in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/soundboard#soundboard-sound-object

external
stage_instances : APIStageInstance[]

The stage instances in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure

external
threads : (APIChannel & { type: ThreadChannelType; })[]

Threads in the guild**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/channel#channel-object

optionalexternal
unavailable? : boolean

true if this guild is unavailable due to an outage

external
voice_states : Omit<APIVoiceState, 'guild_id'>[]

States of members currently in voice channels; lacks the guild_id key**This field is only sent within the GUILD_CREATE event**

See also: https://discord.com/developers/docs/resources/voice#voice-state-object