Skip to content

Commit

Permalink
fix(RESTPatchAPIGuildJSONBody): multiple properties are actually null…
Browse files Browse the repository at this point in the history
…able (#48)
  • Loading branch information
didinele committed Dec 18, 2020
1 parent b832b24 commit 018fc4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions v8/rest/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 018fc4f

Please sign in to comment.