interface RESTPostAPIGuildsJSONBody

external
export interface RESTPostAPIGuildsJSONBody

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

optionalexternal
afk_channel_id? : Snowflake | number | null | undefined

ID for afk channel

optionalexternal
afk_timeout? : 1800 | 3600 | 60 | 300 | 900 | undefined

afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600

optionalexternal
channels? : RESTAPIGuildCreatePartialChannel[] | undefined

New guild's channels

optionalexternal
default_message_notifications? : GuildDefaultMessageNotifications | undefined

Default message notification levelSee https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level

optionalexternal
explicit_content_filter? : GuildExplicitContentFilter | undefined

Explicit content filter levelSee https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level

optionalexternal
icon? : string | undefined

base64 1024x1024 png/jpeg image for the guild iconSee https://discord.com/developers/docs/reference#image-data

external
name : string

Name of the guild (2-100 characters)

optionalexternal
premium_progress_bar_enabled? : boolean | undefined

Whether the boosts progress bar should be enabled.

optionalexternal
region? : string | undefined

Voice region idSee https://discord.com/developers/docs/resources/voice#voice-region-object

optionalexternal
roles? : RESTAPIGuildCreateRole[] | undefined

New guild roles

optionalexternal
system_channel_flags? : GuildSystemChannelFlags | undefined

System channel flagsSee https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags

optionalexternal
system_channel_id? : Snowflake | number | null | undefined

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

optionalexternal
verification_level? : GuildVerificationLevel | undefined

Verification levelSee https://discord.com/developers/docs/resources/guild#guild-object-verification-level