Skip to main content
interface ModifyGuildPayload
import { type ModifyGuildPayload } from "https://deno.land/x/denord@0.1.0/structure/ModifyGuildPayload.ts";

Properties

optional
name: string

guild name

optional
region: string

guild voice region id

optional
verificationLevel: VerificationLevel

verification level

optional
defaultMessageNotifications: MessageNotificationLevel

default message notification level

optional
explicitContentFilter: ExplicitContentFilterLevel

explicit content filter level

optional
afkChannelId: ChannelId

id for afk channel

optional
afkTimeout: integer

afk timeout in seconds

optional
icon: ImageData

base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the server has ANIMATEDICON feature)

ownerId: UserId

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

optional
splash: ImageData

base64 16:9 png/jpeg image for the guild splash (when the server has INVITESPLASH feature)

optional
banner: ImageData

base64 16:9 png/jpeg image for the guild banner (when the server has BANNER feature)

optional
systemChannelId: ChannelId

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

optional
rulesChannelId: ChannelId

the id of the channel where "PUBLIC" guilds display rules and/or guidelines

optional
publicUpdatesChannelId: ChannelId

the id of the channel where admins and moderators of "PUBLIC" guilds receive notices from Discord

optional
preferredLocale: string

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