commit
12fbba82ba
@ -2548,7 +2548,10 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"system_channel_id": {
|
"system_channel_id": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"rules_channel_id": {
|
"rules_channel_id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -2802,13 +2805,22 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"banner": {
|
"banner": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"splash": {
|
"splash": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -2829,13 +2841,19 @@
|
|||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"public_updates_channel_id": {
|
"public_updates_channel_id": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"afk_timeout": {
|
"afk_timeout": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"afk_channel_id": {
|
"afk_channel_id": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"preferred_locale": {
|
"preferred_locale": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -2854,7 +2872,10 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"system_channel_id": {
|
"system_channel_id": {
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"null",
|
||||||
|
"string"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"rules_channel_id": {
|
"rules_channel_id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -9,17 +9,17 @@ import { GuildCreateSchema } from "../index";
|
|||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
||||||
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
|
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
|
||||||
banner?: string;
|
banner?: string | null;
|
||||||
splash?: string;
|
splash?: string | null;
|
||||||
description?: string;
|
description?: string | null;
|
||||||
features?: string[];
|
features?: string[];
|
||||||
verification_level?: number;
|
verification_level?: number;
|
||||||
default_message_notifications?: number;
|
default_message_notifications?: number;
|
||||||
system_channel_flags?: number;
|
system_channel_flags?: number;
|
||||||
explicit_content_filter?: number;
|
explicit_content_filter?: number;
|
||||||
public_updates_channel_id?: string;
|
public_updates_channel_id?: string | null;
|
||||||
afk_timeout?: number;
|
afk_timeout?: number;
|
||||||
afk_channel_id?: string;
|
afk_channel_id?: string | null;
|
||||||
preferred_locale?: string;
|
preferred_locale?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ export interface GuildCreateSchema {
|
|||||||
icon?: string;
|
icon?: string;
|
||||||
channels?: ChannelModifySchema[];
|
channels?: ChannelModifySchema[];
|
||||||
guild_template_code?: string;
|
guild_template_code?: string;
|
||||||
system_channel_id?: string;
|
system_channel_id?: string | null;
|
||||||
rules_channel_id?: string;
|
rules_channel_id?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user