import { type APIGuild } from "https://deno.land/x/discord_api_types@0.37.60/payloads/v10/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
ID of owner
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
ID of afk channel
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
Application id of the guild creator if it is bot-created
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
Approximate number of members in this guild,
returned from the GET /guilds/<id>
and /users/@me/guilds
(OAuth2) endpoints when with_counts
is true
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
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
The type of Student Hub the guild is
The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord