From 8226fb0aefd79dff1a353678e0ac6c85a952a0f5 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 22 Aug 2022 08:12:09 -0400 Subject: don't filter hidden features --- lib/models/instance/Guild.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/models/instance/Guild.ts') diff --git a/lib/models/instance/Guild.ts b/lib/models/instance/Guild.ts index 5387f81..763485f 100644 --- a/lib/models/instance/Guild.ts +++ b/lib/models/instance/Guild.ts @@ -424,6 +424,4 @@ export const guildLogsArr = Object.keys(guildLogsObj).filter( type LogChannelDB = { [x in keyof typeof guildLogsObj]?: Snowflake }; export type GuildFeatures = keyof typeof guildFeaturesObj; -export const guildFeaturesArr: GuildFeatures[] = Object.keys(guildFeaturesObj).filter( - (f) => !guildFeaturesObj[f as keyof typeof guildFeaturesObj].hidden -) as GuildFeatures[]; +export const guildFeaturesArr: GuildFeatures[] = Object.keys(guildFeaturesObj) as GuildFeatures[]; -- cgit