Merge branch 'master' into 2fa

This commit is contained in:
Madeline
2022-08-01 20:39:20 +10:00
2 changed files with 5 additions and 8 deletions

View File

@@ -7166,6 +7166,9 @@
"GuildUpdateSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"banner": {
"type": [
"null",
@@ -7211,10 +7214,6 @@
"preferred_locale": {
"type": "string"
},
"name": {
"maxLength": 100,
"type": "string"
},
"region": {
"type": "string"
},
@@ -7235,9 +7234,6 @@
}
},
"additionalProperties": false,
"required": [
"name"
],
"definitions": {
"Embed": {
"type": "object",

View File

@@ -7,7 +7,8 @@ import { GuildCreateSchema } from "../index";
const router = Router();
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels" | "name"> {
name?: string;
banner?: string | null;
splash?: string | null;
description?: string;