API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type RESTPatchAPIGuildJSONBody } from "https://deno.land/x/discord_api_types@0.37.46/v8.ts";
Properties
Voice region id
See https://discord.com/developers/docs/resources/voice#voice-region-object
Verification level
See https://discord.com/developers/docs/resources/guild#guild-object-verification-level
Default message notification 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
ID for afk channel
base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the guild has ANIMATED_ICON
feature)
See https://discord.com/developers/docs/reference#image-data
User id to transfer guild ownership to (must be owner)
base64 16:9 png/jpeg image for the guild splash (when the guild has INVITE_SPLASH
feature)
See https://discord.com/developers/docs/reference#image-data
base64 png/jpeg image for the guild discovery splash (when the guild has DISCOVERABLE
feature)
base64 16:9 png/jpeg image for the guild banner (when the server has the BANNER
feature; can be animated gif when the server has the ANIMATED_BANNER
feature)
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 display rules and/or guidelines
The id of the channel where admins and moderators of Community guilds receive notices from Discord
The preferred locale of a Community guild used in server discovery and notices from Discord; defaults to "en-US"
Enabled guild features
See https://discord.com/developers/docs/resources/guild#guild-object-guild-features