Latest
interface CreateGuild
import { type CreateGuild } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Properties

name: string

Name of the guild (1-100 characters)

optional
icon: string

Base64 128x128 image for the guild icon

optional
verificationLevel: VerificationLevels

Verification level

optional
defaultMessageNotifications: DefaultMessageNotificationLevels

Default message notification level

optional
explicitContentFilter: ExplicitContentFilterLevels

Explicit content filter level

optional
roles: Role[]

New guild roles (first role is the everyone role)

optional
channels: Partial<Channel>[]

New guild's channels

optional
afkChannelId: string

Id for afk channel

optional
afkTimeout: number

Afk timeout in seconds

optional
systemChannelId: string

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

optional
systemChannelFlags: SystemChannelFlags

System channel flags