Preview environment

interface GuildCreateOptions

export interface GuildCreateOptions

Options used to create a guild.

optional
afkChannelId? : Snowflake | number

The AFK channel's id

optional
afkTimeout? : number

The AFK timeout in seconds the first element of this array is used to change properties of the guild's everyone role.

optional
channels? : readonly PartialChannelData[]

The channels for this guild (default: [])

optional
defaultMessageNotifications? : GuildDefaultMessageNotifications

The default message notifications for the guild

optional
explicitContentFilter? : GuildExplicitContentFilter

The explicit content filter level for the guild

The icon for the guild

name : string

The name of the guild

optional
roles? : readonly PartialRoleData[]

The roles for this guild, (default: [])

optional
systemChannelFlags? : SystemChannelFlagsResolvable

The flags of the system channel

optional
systemChannelId? : Snowflake | number

The system channel's id

optional
verificationLevel? : GuildVerificationLevel

The verification level for the guild