Skip to main content
Module

x/discord_api_types/v10.ts>RESTPostAPIGuildsJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPostAPIGuildsJSONBody
Re-export
import { type RESTPostAPIGuildsJSONBody } from "https://deno.land/x/discord_api_types@0.37.82/v10.ts";

Properties

name: string

Name of the guild (2-100 characters)

optional
region: string | undefined
optional
icon: string | undefined

base64 1024x1024 png/jpeg image for the guild icon

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

optional
default_message_notifications: GuildDefaultMessageNotifications | undefined
optional
explicit_content_filter: GuildExplicitContentFilter | undefined
optional
roles: APIGuildCreateRole[] | undefined

New guild roles

optional
channels: APIGuildCreatePartialChannel[] | undefined

New guild's channels

optional
afk_channel_id:
| 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
system_channel_id:
| number
| null
| undefined

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

optional
premium_progress_bar_enabled: boolean | undefined

Whether the boosts progress bar should be enabled.