fix: not being able to enable community

This commit is contained in:
Puyodead1 2022-07-25 23:02:04 -04:00 committed by Madeline
parent 15090143d0
commit 1f72d884b2
2 changed files with 5 additions and 5 deletions

View File

@ -18260,6 +18260,9 @@
"GuildUpdateSchema": { "GuildUpdateSchema": {
"type": "object", "type": "object",
"properties": { "properties": {
"name": {
"type": "string"
},
"banner": { "banner": {
"type": [ "type": [
"null", "null",
@ -18311,10 +18314,6 @@
"discovery_splash": { "discovery_splash": {
"type": "string" "type": "string"
}, },
"name": {
"maxLength": 100,
"type": "string"
},
"region": { "region": {
"type": "string" "type": "string"
}, },

View File

@ -1,6 +1,7 @@
import { GuildCreateSchema } from "@fosscord/util"; import { GuildCreateSchema } from "@fosscord/util";
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> { export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels" | "name"> {
name?: string;
banner?: string | null; banner?: string | null;
splash?: string | null; splash?: string | null;
description?: string; description?: string;