Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface ModifyGuild
import { type ModifyGuild } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Properties

optional
name: string

Guild name

optional
verificationLevel: VerificationLevels | null

Verification level

optional
defaultMessageNotifications: DefaultMessageNotificationLevels | null

Default message notification filter level

optional
explicitContentFilter: ExplicitContentFilterLevels | null

Explicit content filter level

optional
afkChannelId: BigString | null

Id for afk channel

optional
afkTimeout: number

Afk timeout in seconds

optional
icon: string | null

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

optional
ownerId: BigString

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

optional
splash: string | null

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

optional
discoverySplash: string | null

Base64 16:9 png/jpeg image for the guild discovery spash (when the server has the DISCOVERABLE feature)

optional
banner: string | null

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

optional
systemChannelId: BigString | null

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

optional
systemChannelFlags: SystemChannelFlags

System channel flags

optional
rulesChannelId: BigString | null

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

optional
publicUpdatesChannelId: BigString | null

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

optional
preferredLocale: string | null

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

optional
features: GuildFeatures[]

Enabled guild features

optional
premiumProgressBarEnabled: boolean

Whether the guild's boost progress bar should be enabled