Skip to main content
Module

x/discord_api_types/v9.ts>GatewayGuildCreateDispatchData

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface GatewayGuildCreateDispatchData
implements APIGuild
import { type GatewayGuildCreateDispatchData } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

joined_at: string

When this guild was joined at

This field is only sent within the GUILD_CREATE event

large: boolean

true if this is considered a large guild

This field is only sent within the GUILD_CREATE event

optional
unavailable: boolean

true if this guild is unavailable due to an outage

member_count: number

Total number of members in this guild

This field is only sent within the GUILD_CREATE event

voice_states: Omit<GatewayVoiceState, "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 https://discord.com/developers/docs/resources/voice#voice-state-object

members: APIGuildMember[]

Users in the guild

This field is only sent within the GUILD_CREATE event

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

channels: APIChannel[]

Channels in the guild

This field is only sent within the GUILD_CREATE event

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

threads: APIChannel[]

Threads in the guild

This field is only sent within the GUILD_CREATE event

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

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 https://discord.com/developers/docs/topics/gateway#presence-update

stage_instances: APIStageInstance[]

The stage instances in the guild

This field is only sent within the GUILD_CREATE event

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

guild_scheduled_events: APIGuildScheduledEvent[]

The scheduled events in the guild

This field is only sent within the GUILD_CREATE event

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