mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-25 11:52:07 +00:00
Merge branch 'master' into 2fa
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user