aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config')
-rw-r--r--src/commands/config/config.ts1
-rw-r--r--src/commands/config/features.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts
index 2fae2fd..5346924 100644
--- a/src/commands/config/config.ts
+++ b/src/commands/config/config.ts
@@ -354,6 +354,7 @@ export default class ConfigCommand extends BushCommand {
};
const components = new ActionRow().addComponents(
+ // @ts-expect-error: outdated @discord.js/builders
new ButtonComponent().setStyle(ButtonStyle.Primary).setCustomId('command_settingsBack').setLabel('Back')
);
settingsEmbed.setDescription(
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 2e7d623..7fa82a9 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -90,7 +90,7 @@ export default class FeaturesCommand extends BushCommand {
.setMaxValues(1)
.setMinValues(1)
.setOptions(
- guildFeatures.map((f) =>
+ ...guildFeatures.map((f) =>
new SelectMenuOption().setLabel(guildFeaturesObj[f].name).setValue(f).setDescription(guildFeaturesObj[f].description)
)
)