export interface APIGuild extends APIPartialGuildhttps://discord.com/developers/docs/resources/guild#guild-object-guild-structure
afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600
optionalexternalapproximate_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
optionalexternalapproximate_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 hashSee https://discord.com/developers/docs/reference#image-formatting
externaldefault_message_notifications : GuildDefaultMessageNotifications
Default message notifications levelSee https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level
Discovery splash hash; only present for guilds with the "DISCOVERABLE" featureSee https://discord.com/developers/docs/reference#image-formatting
externalemojis : APIEmoji[]
Custom guild emojisSee https://discord.com/developers/docs/resources/emoji#emoji-object
externalexplicit_content_filter : GuildExplicitContentFilter
Explicit content filter levelSee https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level
externalfeatures : GuildFeature[]
Enabled guild featuresSee https://discord.com/developers/docs/resources/guild#guild-object-guild-features
externalhub_type : GuildHubType | null
The type of Student Hub the guild is
Icon hash, returned when in the template objectSee https://discord.com/developers/docs/reference#image-formatting
Icon hashSee https://discord.com/developers/docs/reference#image-formatting
Inherited from: APIPartialGuild
externalincidents_data : APIIncidentsData | null
The incidents data for this guild
optionalexternalmax_members? : number
The maximum number of members for the guild
The maximum number of presences for the guild (null is always returned, apart from the largest of guilds)
optionalexternalmax_stage_video_channel_users? : number
The maximum amount of users in a stage video channel
optionalexternalmax_video_channel_users? : number
The maximum amount of users in a video channel
externalmfa_level : GuildMFALevel
Required MFA level for the guildSee https://discord.com/developers/docs/resources/guild#guild-object-mfa-level
externalname : string
Guild name (2-100 characters, excluding trailing and leading whitespace)
Inherited from: APIPartialGuild
externalnsfw_level : GuildNSFWLevel
The nsfw level of the guildSee https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level
externalowner_id : Snowflake
ID of owner
optionalexternalowner? : boolean
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**
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**See https://en.wikipedia.org/wiki/Bit_field
externalpreferred_locale : Locale
The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to "en-US" "en-US"
externalpremium_progress_bar_enabled : boolean
Whether the guild has the boost progress bar enabled.
optionalexternalpremium_subscription_count? : number
The number of boosts this guild currently has
externalpremium_tier : GuildPremiumTier
Premium tier (Server Boost level)See https://discord.com/developers/docs/resources/guild#guild-object-premium-tier
The id of the channel where admins and moderators of Community guilds receive notices from Discord
deprecatedexternalregion : string
This field has been deprecated in favor of rtc_region on the channel.
Voice region id for the guildSee https://discord.com/developers/docs/resources/voice#voice-region-object
externalroles : APIRole[]
Roles in the guildSee https://discord.com/developers/docs/topics/permissions#role-object
The id of the channel where Community guilds can display rules and/or guidelines
The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord
Splash hashSee https://discord.com/developers/docs/reference#image-formatting
Inherited from: APIPartialGuild
externalstickers : APISticker[]
Custom guild stickersSee https://discord.com/developers/docs/resources/sticker#sticker-object
externalsystem_channel_flags : GuildSystemChannelFlags
System channel flagsSee 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
externalverification_level : GuildVerificationLevel
Verification level required for the guildSee https://discord.com/developers/docs/resources/guild#guild-object-verification-level
optionalexternalwelcome_screen? : APIGuildWelcomeScreen
The welcome screen of a Community guild, shown to new membersReturned in the invite object
The channel id that the widget will generate an invite to, or null if set to no invite
optionalexternalwidget_enabled? : boolean
true if the guild widget is enabled