From acc8eeb0742237ce4b1db3d3da0f54abdf7f8711 Mon Sep 17 00:00:00 2001 From: keenkairos <83495194+keenkairos@users.noreply.github.com> Date: Sat, 1 May 2021 16:03:00 +0400 Subject: [PATCH] add(types): nsfw field * feat(types): add nsfw field to Guild Reference: https://github.com/discord/discord-api-docs/commit/5e63e309bbc7e93b683b47bc8401d2d079580251 Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com> --- src/types/guilds/guild.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/guilds/guild.ts b/src/types/guilds/guild.ts index 52f879a36..4e96ddb0f 100644 --- a/src/types/guilds/guild.ts +++ b/src/types/guilds/guild.ts @@ -107,4 +107,6 @@ export interface Guild { approximatePresenceCount?: number; /** The welcome screen of a Community guild, shown to new members, returned when in the invite object */ welcomeScreen?: WelcomeScreen; + /** `true` if this guild is designated as NSFW */ + nsfw: boolean; }