From f8ecaba024efb446c42d47aa71a51e8b93937210 Mon Sep 17 00:00:00 2001 From: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Date: Wed, 14 Apr 2021 14:38:02 +0530 Subject: [PATCH] feat(structures/guild): add nsfw: boolean --- src/structures/guild.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structures/guild.ts b/src/structures/guild.ts index 022f70a..8cb9f68 100644 --- a/src/structures/guild.ts +++ b/src/structures/guild.ts @@ -187,6 +187,7 @@ export class Guild extends SnowflakeBase { approximateNumberCount?: number approximatePresenceCount?: number bans: GuildBans + nsfw: boolean /** Get Shard ID of Guild on which it is */ get shardID(): number { @@ -261,6 +262,7 @@ export class Guild extends SnowflakeBase { data.approximate_number_count ?? this.approximateNumberCount this.approximatePresenceCount = data.approximate_presence_count ?? this.approximatePresenceCount + this.nsfw = data.nsfw ?? this.nsfw } }