Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| icon | string | |
| verification_level | integer | |
| default_message_notifications | integer | |
| explicit_content_filter | integer | |
| roles | array | |
| channels | array | |
| afk_channel_id | object | |
| afk_timeout | integer | |
| system_channel_id | object | |
| system_channel_flags | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateGuildRequest",
"title": "CreateGuildRequest",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 2,
"maxLength": 100
},
"icon": {
"type": "string"
},
"verification_level": {
"type": "integer"
},
"default_message_notifications": {
"type": "integer"
},
"explicit_content_filter": {
"type": "integer"
},
"roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Role"
}
},
"channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Channel"
}
},
"afk_channel_id": {
"$ref": "#/components/schemas/Snowflake"
},
"afk_timeout": {
"type": "integer"
},
"system_channel_id": {
"$ref": "#/components/schemas/Snowflake"
},
"system_channel_flags": {
"type": "integer"
}
}
}