import { type APIGuild } from "https://deno.land/x/discord_api_types@0.37.30/payloads/v9/guild.ts";
Properties
Icon hash, returned when in the template object
See https://discord.com/developers/docs/reference#image-formatting
Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature
See https://discord.com/developers/docs/reference#image-formatting
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
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
Voice region id for the guild
See https://discord.com/developers/docs/resources/voice#voice-region-object
afk timeout in seconds, can be set to: 60
, 300
, 900
, 1800
, 3600
The channel id that the widget will generate an invite to, or null
if set to no invite
Verification level required for the guild
See https://discord.com/developers/docs/resources/guild#guild-object-verification-level
Default message notifications level
See https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level
Explicit content filter level
See https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level
Roles in the guild
See https://discord.com/developers/docs/topics/permissions#role-object
Custom guild emojis
See https://discord.com/developers/docs/resources/emoji#emoji-object
Enabled guild features
See https://discord.com/developers/docs/resources/guild#guild-object-guild-features
Required MFA level for the guild
See https://discord.com/developers/docs/resources/guild#guild-object-mfa-level
The id of the channel where guild notices such as welcome messages and boost events are posted
System channel flags
See https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags
The id of the channel where Community guilds can display rules and/or guidelines
The maximum number of presences for the guild (null
is always returned, apart from the largest of guilds)
Banner hash
See https://discord.com/developers/docs/reference#image-formatting
The preferred locale of a Community guild; used in guild discovery and notices from Discord; defaults to "en-US"
The id of the channel where admins and moderators of Community guilds receive notices from Discord
This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the with_counts
query parameter set to true
This field is only received from https://discord.com/developers/docs/resources/guild#get-guild with the with_counts
query parameter set to true
The welcome screen of a Community guild, shown to new members
Returned in the invite object
The nsfw level of the guild
See https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level
Custom guild stickers
See https://discord.com/developers/docs/resources/sticker#sticker-object