fix: not being able to enable community

This commit is contained in:
Puyodead1
2022-07-25 23:02:04 -04:00
committed by Erkin Alp Güney
parent 5fe1f01ad9
commit 9ab01e0404
2 changed files with 5 additions and 8 deletions

View File

@@ -6828,6 +6828,9 @@
"GuildUpdateSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"banner": {
"type": [
"null",
@@ -6873,10 +6876,6 @@
"preferred_locale": {
"type": "string"
},
"name": {
"maxLength": 100,
"type": "string"
},
"region": {
"type": "string"
},
@@ -6897,9 +6896,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;