From 018fc4f8ea4d50f719820001822778079a055fa3 Mon Sep 17 00:00:00 2001 From: didinele Date: Fri, 18 Dec 2020 15:37:27 +0200 Subject: [PATCH] fix(RESTPatchAPIGuildJSONBody): multiple properties are actually nullable (#48) --- v8/rest/guild.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v8/rest/guild.ts b/v8/rest/guild.ts index 1410ad19..5d5952fd 100644 --- a/v8/rest/guild.ts +++ b/v8/rest/guild.ts @@ -76,10 +76,10 @@ export type RESTGetAPIGuildPreviewResult = APIGuildPreview; */ export interface RESTPatchAPIGuildJSONBody { name?: string; - region?: string; - verification_level?: GuildVerificationLevel; - default_message_notifications?: GuildDefaultMessageNotifications; - explicit_content_filter?: GuildExplicitContentFilter; + region?: string | null; + verification_level?: GuildVerificationLevel | null; + default_message_notifications?: GuildDefaultMessageNotifications | null; + explicit_content_filter?: GuildExplicitContentFilter | null; afk_channel_id?: string | null; afk_timeout?: number; icon?: string | null; @@ -91,7 +91,7 @@ export interface RESTPatchAPIGuildJSONBody { system_channel_flags: GuildSystemChannelFlags; rules_channel_id?: string | null; public_updates_channel_id?: string | null; - preferred_locale?: string; + preferred_locale?: string | null; features?: GuildFeature[]; description?: string | null; }