Interface RESTPatchAPIGuildJSONBody

Hierarchy

  • RESTPatchAPIGuildJSONBody

Properties

afk_channel_id?: null | string

ID for afk channel

afk_timeout?: 1800 | 3600 | 60 | 300 | 900

afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600

banner?: null | string

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)

default_message_notifications?: null | GuildDefaultMessageNotifications
description?: null | string

The description for the guild

discovery_splash?: null | string

base64 png/jpeg image for the guild discovery splash (when the guild has DISCOVERABLE feature)

explicit_content_filter?: null | GuildExplicitContentFilter
features?: GuildFeature[]
icon?: null | string

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

name?: string

New name for the guild (2-100 characters)

owner_id?: string

User id to transfer guild ownership to (must be owner)

preferred_locale?: null | string

The preferred locale of a Community guild used in server discovery and notices from Discord; defaults to "en-US"

Default

"en-US" (if the value is set to null)

premium_progress_bar_enabled?: boolean

Whether the boosts progress bar should be enabled.

public_updates_channel_id?: null | string

The id of the channel where admins and moderators of Community guilds receive notices from Discord

region?: null | string
rules_channel_id?: null | string

The id of the channel where Community guilds display rules and/or guidelines

safety_alerts_channel_id?: null | string

The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord

splash?: null | string

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

system_channel_flags?: GuildSystemChannelFlags
system_channel_id?: null | string

The id of the channel where guild notices such as welcome messages and boost events are posted

verification_level?: null | GuildVerificationLevel

Generated using TypeDoc