Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>CreateGuild

A powerful and customizable framework for Discordeno
Latest
interface CreateGuild
Re-export
import { type CreateGuild } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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