GuildCreateOptions
typedef · Source
Options used to create a guild. Type: Object
Properties
afkChannelId
optional
afkChannelId: Snowflake | number
The AFK channel's id
afkTimeout
optional
afkTimeout: number
The AFK timeout in seconds
channels
optional
channels: Array<PartialChannelData>
The channels for this guild
Default: []
defaultMessageNotifications
optional
defaultMessageNotifications: DefaultMessageNotificationLevel | number
The default message notifications for the guild
explicitContentFilter
optional
explicitContentFilter: ExplicitContentFilterLevel
The explicit content filter level for the guild
icon
nullable · optional
icon: BufferResolvable | Base64Resolvable
The icon for the guild
Default: null
roles
optional
roles: Array<PartialRoleData>
The roles for this guild, the first element of this array is used to change properties of the guild's everyone role.
Default: []
systemChannelId
optional
systemChannelId: Snowflake | number
The system channel's id
systemChannelFlags
optional
systemChannelFlags: SystemChannelFlagsResolvable
The flags of the system channel
verificationLevel
optional
verificationLevel: VerificationLevel
The verification level for the guild