aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config')
-rw-r--r--src/commands/config/features.ts11
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)
+ )
)
);
}