aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-13 20:39:09 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-13 20:39:09 -0500
commit3d0f8d6284fbff51881ba704f73765100ffc5f47 (patch)
tree43cd14b46b32583cea76b5e0edd709b1c8642636 /src/commands/config
parent6a7386a181e788927a4c04e5b39ac2a4275918b6 (diff)
downloadtanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.tar.gz
tanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.tar.bz2
tanzanite-3d0f8d6284fbff51881ba704f73765100ffc5f47.zip
started working on appeals
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)
)
)