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
afk timeout in seconds, can be set to: 60
, 300
, 900
, 1800
, 3600
Inherited from: APIGuild
Application id of the guild creator if it is bot-created
Inherited from: APIGuild
optionalexternalnumber approximate_member_count? :
Approximate number of members in this guild, returned from the GET /guilds/<id>
and /users/@me/guilds
(OAuth2) endpoints when with_counts
is true
Inherited from: APIGuild
optionalexternalnumber approximate_presence_count? :
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
Inherited from: APIGuild
Banner hash
Inherited from: APIGuild
See also: https://discord.com/developers/docs/reference#image-formatting
external(APIChannel & { type: Exclude<GuildChannelType, ThreadChannelType>; })[] channels :
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
externalGuildDefaultMessageNotifications default_message_notifications :
Default message notifications level
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level
Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature
Inherited from: APIGuild
See also: https://discord.com/developers/docs/reference#image-formatting
externalAPIEmoji[] emojis :
Custom guild emojis
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/emoji#emoji-object
externalGuildExplicitContentFilter explicit_content_filter :
Explicit content filter level
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level
externalGuildFeature[] features :
Enabled guild features
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-guild-features
externalAPIGuildScheduledEvent[] guild_scheduled_events :
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
Icon hash, returned when in the template object
Inherited from: APIGuild
See also: https://discord.com/developers/docs/reference#image-formatting
Icon hash
Inherited from: APIPartialGuild
See also: https://discord.com/developers/docs/reference#image-formatting
externalAPIIncidentsData | null incidents_data :
The incidents data for this guild
Inherited from: APIGuild
externalstring joined_at :
When this guild was joined at**This field is only sent within the GUILD_CREATE event**
externalboolean large :
true
if this is considered a large guild**This field is only sent within the GUILD_CREATE event**
optionalexternalnumber max_members? :
The maximum number of members for the guild
Inherited from: APIGuild
The maximum number of presences for the guild (null
is always returned, apart from the largest of guilds)
Inherited from: APIGuild
optionalexternalnumber max_stage_video_channel_users? :
The maximum amount of users in a stage video channel
Inherited from: APIGuild
optionalexternalnumber max_video_channel_users? :
The maximum amount of users in a video channel
Inherited from: APIGuild
externalnumber member_count :
Total number of members in this guild**This field is only sent within the GUILD_CREATE event**
externalAPIGuildMember[] members :
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
externalGuildMFALevel mfa_level :
Required MFA level for the guild
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-mfa-level
externalstring name :
Guild name (2-100 characters, excluding trailing and leading whitespace)
Inherited from: APIPartialGuild
externalGuildNSFWLevel nsfw_level :
The nsfw level of the guild
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level
optionalexternalboolean owner? :
true
if the user is the owner of the guild**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**
Inherited from: APIGuild
optionalexternalPermissions permissions? :
Total permissions for the user in the guild (excludes overrides)**This field is only received from https://discord.com/developers/docs/resources/user#get-current-user-guilds**
Inherited from: APIGuild
See also: https://en.wikipedia.org/wiki/Bit_field
externalLocale = "en-US" preferred_locale :
The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to "en-US"
Inherited from: APIGuild
externalboolean premium_progress_bar_enabled :
Whether the guild has the boost progress bar enabled.
Inherited from: APIGuild
optionalexternalnumber premium_subscription_count? :
The number of boosts this guild currently has
Inherited from: APIGuild
externalGuildPremiumTier premium_tier :
Premium tier (Server Boost level)
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-premium-tier
externalGatewayPresenceUpdate[] presences :
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
The id of the channel where admins and moderators of Community guilds receive notices from Discord
Inherited from: APIGuild
deprecatedexternalstring region :
This field has been deprecated in favor of rtc_region
on the channel.
Voice region id for the guild
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/voice#voice-region-object
externalAPIRole[] roles :
Roles in the guild
Inherited from: APIGuild
See also: https://discord.com/developers/docs/topics/permissions#role-object
The id of the channel where Community guilds can display rules and/or guidelines
Inherited from: APIGuild
The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord
Inherited from: APIGuild
externalAPISoundboardSound[] soundboard_sounds :
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
Splash hash
Inherited from: APIPartialGuild
See also: https://discord.com/developers/docs/reference#image-formatting
externalAPIStageInstance[] stage_instances :
The stage instances in the guild**This field is only sent within the GUILD_CREATE event**
externalAPISticker[] stickers :
Custom guild stickers
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/sticker#sticker-object
externalGuildSystemChannelFlags system_channel_flags :
System channel flags
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags
The id of the channel where guild notices such as welcome messages and boost events are posted
Inherited from: APIGuild
external(APIChannel & { type: ThreadChannelType; })[] threads :
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
optionalexternalboolean unavailable? :
true
if this guild is unavailable due to an outage
externalGuildVerificationLevel verification_level :
Verification level required for the guild
Inherited from: APIGuild
See also: https://discord.com/developers/docs/resources/guild#guild-object-verification-level
externalOmit<APIVoiceState, 'guild_id'>[] voice_states :
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
optionalexternalAPIGuildWelcomeScreen welcome_screen? :
The welcome screen of a Community guild, shown to new membersReturned in the invite object
Inherited from: APIGuild
The channel id that the widget will generate an invite to, or null
if set to no invite
Inherited from: APIGuild