RESTPostAPIGuildsJSONBody

export interface RESTPostAPIGuildsJSONBody
export interface RESTPostAPIGuildsJSONBody
https://discord.com/developers/docs/resources/guild#create-guild
afk_channel_id?:Snowflake | number | null | undefined
ID for afk channel
afk_timeout?:1800 | 3600 | 60 | 300 | 900 | undefined
afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600
New guild's channels
Remarks
When using the channels parameter, the position field is ignored, and none of the default channels are created.Also, the id field within each channel object may be set to an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to create GUILD_CATEGORY channels by setting the parent_id field on any children to the category's id field. Category channels must be listed before any children.See https://discord.com/developers/docs/resources/channel#channel-object
default_message_notifications?:GuildDefaultMessageNotifications | undefined
Default message notification levelSee https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level
explicit_content_filter?:GuildExplicitContentFilter | undefined
Explicit content filter levelSee https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level
base64 1024x1024 png/jpeg image for the guild iconSee https://discord.com/developers/docs/reference#image-data
name:string
Name of the guild (2-100 characters)
premium_progress_bar_enabled?:boolean | undefined
Whether the boosts progress bar should be enabled.
region?:string | undefined
Voice region idSee https://discord.com/developers/docs/resources/voice#voice-region-object
New guild roles
Remarks
When using this parameter, the first member of the array is used to change properties of the guild's @everyone role. If you are trying to bootstrap a guild with additional roles, keep this in mind.Also, the required id field within each role object is an integer placeholder, and will be replaced by the API upon consumption. Its purpose is to allow you to overwrite a role's permissions in a channel when also passing in channels with the channels array.See https://discord.com/developers/docs/topics/permissions#role-object
system_channel_flags?:GuildSystemChannelFlags | undefined
System channel flagsSee https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags
system_channel_id?:Snowflake | number | null | undefined
The id of the channel where guild notices such as welcome messages and boost events are posted
verification_level?:GuildVerificationLevel | undefined
Verification levelSee https://discord.com/developers/docs/resources/guild#guild-object-verification-level