Skip to main content
Module

x/discordeno/mod.ts>CreateGuild

Discord API library for Deno
Latest
interface CreateGuild
import { type CreateGuild } from "https://deno.land/x/discordeno@18.0.1/mod.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