Skip to main content
Version: 0.37.106

GatewayGuildCreateDispatchData

Hierarchy

Index

Properties

afk_channel_id

afk_channel_id: null | string

ID of afk channel

afk_timeout

afk_timeout: 1800 | 3600 | 60 | 300 | 900

afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600

application_id

application_id: null | string

Application id of the guild creator if it is bot-created

optionalapproximate_member_count

approximate_member_count?: number

Approximate number of members in this guild, returned from the GET /guilds/<id> and /users/@me/guilds (OAuth2) endpoints when with_counts is true

optionalapproximate_presence_count

approximate_presence_count?: number

Approximate number of non-offline members in this guild, returned from the GET /guilds/<id> and /users/@me/guilds (OAuth2) endpoints when with_counts is true

banner

banner: null | string

channels

channels: (APIChannel & { type: GuildText | GuildVoice | GuildCategory | GuildAnnouncement | GuildStageVoice | GuildDirectory | GuildForum | GuildMedia })[]

Channels in the guild

default_message_notifications

default_message_notifications: GuildDefaultMessageNotifications

description

description: null | string

The description for the guild

discovery_splash

discovery_splash: null | string

Discovery splash hash; only present for guilds with the “DISCOVERABLE” feature

emojis

emojis: APIEmoji[]

explicit_content_filter

explicit_content_filter: GuildExplicitContentFilter

features

features: GuildFeature[]

guild_scheduled_events

guild_scheduled_events: APIGuildScheduledEvent[]

The scheduled events in the guild

hub_type

hub_type: null | GuildHubType

The type of Student Hub the guild is

icon

icon: null | string

optionalicon_hash

icon_hash?: null | string

Icon hash, returned when in the template object

id

id: string

Guild id

joined_at

joined_at: string

When this guild was joined at

This field is only sent within the GUILD_CREATE event

large

large: boolean

true if this is considered a large guild

This field is only sent within the GUILD_CREATE event

optionalmax_members

max_members?: number

The maximum number of members for the guild

optionalmax_presences

max_presences?: null | number

The maximum number of presences for the guild (null is always returned, apart from the largest of guilds)

optionalmax_stage_video_channel_users

max_stage_video_channel_users?: number

The maximum amount of users in a stage video channel

optionalmax_video_channel_users

max_video_channel_users?: number

The maximum amount of users in a video channel

member_count

member_count: number

Total number of members in this guild

This field is only sent within the GUILD_CREATE event

members

members: APIGuildMember[]

Users in the guild

mfa_level

mfa_level: GuildMFALevel

name

name: string

Guild name (2-100 characters, excluding trailing and leading whitespace)

nsfw_level

nsfw_level: GuildNSFWLevel

optionalowner

owner?: boolean

true if the user is the owner of the guild

owner_id

owner_id: string

ID of owner

optionalpermissions

permissions?: string

Total permissions for the user in the guild (excludes overrides)

preferred_locale

preferred_locale: Locale

The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to “en-US”

@default

“en-US”

premium_progress_bar_enabled

premium_progress_bar_enabled: boolean

Whether the guild has the boost progress bar enabled.

optionalpremium_subscription_count

premium_subscription_count?: number

The number of boosts this guild currently has

premium_tier

premium_tier: GuildPremiumTier

presences

Presences of the members in the guild, will only include non-offline members if the size is greater than large_threshold

public_updates_channel_id

public_updates_channel_id: null | string

The id of the channel where admins and moderators of Community guilds receive notices from Discord

region

region: string

Voice region id for the guild

@deprecated

This field has been deprecated in favor of rtc_region on the channel.

roles

roles: APIRole[]

rules_channel_id

rules_channel_id: null | string

The id of the channel where Community guilds can display rules and/or guidelines

safety_alerts_channel_id

safety_alerts_channel_id: null | string

The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord

soundboard_sounds

soundboard_sounds: APISoundboardSound[]

The soundboard sounds in the guild

splash

splash: null | string

stage_instances

stage_instances: APIStageInstance[]

stickers

stickers: APISticker[]

system_channel_flags

system_channel_flags: GuildSystemChannelFlags

system_channel_id

system_channel_id: null | string

The id of the channel where guild notices such as welcome messages and boost events are posted

threads

threads: (never & never & never & never & never & never & never & never & never & (APIThreadChannel & { type: ThreadChannelType }))[]

Threads in the guild

optionalunavailable

unavailable?: boolean

true if this guild is unavailable due to an outage

vanity_url_code

vanity_url_code: null | string

The vanity url code for the guild

verification_level

verification_level: GuildVerificationLevel

voice_states

voice_states: Omit<APIVoiceState, guild_id>[]

States of members currently in voice channels; lacks the guild_id key

optionalwelcome_screen

welcome_screen?: APIGuildWelcomeScreen

The welcome screen of a Community guild, shown to new members

Returned in the invite object

optionalwidget_channel_id

widget_channel_id?: null | string

The channel id that the widget will generate an invite to, or null if set to no invite

optionalwidget_enabled

widget_enabled?: boolean

true if the guild widget is enabled