diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-14 20:54:55 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-14 20:54:55 -0500 |
commit | de86c77eff4c2dfd5421c9a14a8f88cbac7abd18 (patch) | |
tree | 6e9893c4942368398a057acc448ad5e528b5990d /src/commands | |
parent | 861273b180f97110fd9aaad0036f29cda0e20015 (diff) | |
download | tanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.tar.gz tanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.tar.bz2 tanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.zip |
fix: disable appeals for now
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/config/features.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts index 2e7d623..7389ceb 100644 --- a/src/commands/config/features.ts +++ b/src/commands/config/features.ts @@ -90,9 +90,14 @@ export default class FeaturesCommand extends BushCommand { .setMaxValues(1) .setMinValues(1) .setOptions( - guildFeatures.map((f) => - new SelectMenuOption().setLabel(guildFeaturesObj[f].name).setValue(f).setDescription(guildFeaturesObj[f].description) - ) + guildFeatures + .filter((f) => guildFeaturesObj[f].notConfigurable !== false) + .map((f) => + new SelectMenuOption() + .setLabel(guildFeaturesObj[f].name) + .setValue(f) + .setDescription(guildFeaturesObj[f].description) + ) ) ); } |