diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-22 08:12:09 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-08-22 08:12:09 -0400 |
commit | 8226fb0aefd79dff1a353678e0ac6c85a952a0f5 (patch) | |
tree | 8def9835658f7d7fc1c1934dc28106de5882aea4 /lib/models | |
parent | b0a61ec89913ed35c0364c06b43264814d2951cc (diff) | |
download | tanzanite-8226fb0aefd79dff1a353678e0ac6c85a952a0f5.tar.gz tanzanite-8226fb0aefd79dff1a353678e0ac6c85a952a0f5.tar.bz2 tanzanite-8226fb0aefd79dff1a353678e0ac6c85a952a0f5.zip |
don't filter hidden features
Diffstat (limited to 'lib/models')
-rw-r--r-- | lib/models/instance/Guild.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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[]; |