Skip to main content

CreateGuild

@discordeno/botDocs


Documentation / @discordeno/bot / CreateGuild

Interface: CreateGuild

https://discord.com/developers/docs/resources/guild#create-guild

Properties

afkChannelId?

optional afkChannelId: string

Id for afk channel

Defined in

packages/types/dist/types/discordeno.d.ts:1102


afkTimeout?

optional afkTimeout: number

Afk timeout in seconds

Defined in

packages/types/dist/types/discordeno.d.ts:1104


channels?

optional channels: Partial<object>[]

New guild's channels

Defined in

packages/types/dist/types/discordeno.d.ts:1100


defaultMessageNotifications?

optional defaultMessageNotifications: DefaultMessageNotificationLevels

Default message notification level

Defined in

packages/types/dist/types/discordeno.d.ts:1094


explicitContentFilter?

optional explicitContentFilter: ExplicitContentFilterLevels

Explicit content filter level

Defined in

packages/types/dist/types/discordeno.d.ts:1096


icon?

optional icon: string

Base64 128x128 image for the guild icon

Defined in

packages/types/dist/types/discordeno.d.ts:1090


name

name: string

Name of the guild (1-100 characters)

Defined in

packages/types/dist/types/discordeno.d.ts:1088


roles?

optional roles: object[]

New guild roles (first role is the everyone role)

Defined in

packages/types/dist/types/discordeno.d.ts:1098


systemChannelFlags?

optional systemChannelFlags: SystemChannelFlags

System channel flags

Defined in

packages/types/dist/types/discordeno.d.ts:1108


systemChannelId?

optional systemChannelId: string

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

Defined in

packages/types/dist/types/discordeno.d.ts:1106


verificationLevel?

optional verificationLevel: VerificationLevels

Verification level

Defined in

packages/types/dist/types/discordeno.d.ts:1092