This commit is contained in:
AlTech98
2021-09-13 19:25:44 +02:00
parent 002ef72f48
commit 5589c26b94
3 changed files with 34 additions and 13 deletions
+5 -5
View File
@@ -9,17 +9,17 @@ import { GuildCreateSchema } from "../index";
const router = Router();
export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
banner?: string;
splash?: string;
description?: string;
banner?: string | null;
splash?: string | null;
description?: string | null;
features?: string[];
verification_level?: number;
default_message_notifications?: number;
system_channel_flags?: number;
explicit_content_filter?: number;
public_updates_channel_id?: string;
public_updates_channel_id?: string | null;
afk_timeout?: number;
afk_channel_id?: string;
afk_channel_id?: string | null;
preferred_locale?: string;
}
+1 -1
View File
@@ -16,7 +16,7 @@ export interface GuildCreateSchema {
icon?: string;
channels?: ChannelModifySchema[];
guild_template_code?: string;
system_channel_id?: string;
system_channel_id?: string | null;
rules_channel_id?: string;
}