Preview environment

interface RESTPostAPIGuildsJSONBody

export interface RESTPostAPIGuildsJSONBody

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

optional
afk_channel_id? : Snowflake | number | null | undefined

ID for afk channel

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

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

optional
icon? : string | undefined

base64 1024x1024 png/jpeg image for the guild icon

See also: https://discord.com/developers/docs/reference#image-data

name : string

Name of the guild (2-100 characters)

optional
premium_progress_bar_enabled? : boolean | undefined

Whether the boosts progress bar should be enabled.

optional
system_channel_id? : Snowflake | number | null | undefined

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