diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-14 20:51:15 -0500 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-14 20:51:15 -0500 |
| commit | c2a0bfbeff572a6226919e7f6283fee4af411793 (patch) | |
| tree | b39c69d33c5467598c4599cd5b91776994a1ebb8 /src/commands/config | |
| parent | c66e80752db6dfe66c57501ce33848c771a9fc13 (diff) | |
| download | tanzanite-c2a0bfbeff572a6226919e7f6283fee4af411793.tar.gz tanzanite-c2a0bfbeff572a6226919e7f6283fee4af411793.tar.bz2 tanzanite-c2a0bfbeff572a6226919e7f6283fee4af411793.zip | |
fix: remove ts-ingores
Diffstat (limited to 'src/commands/config')
| -rw-r--r-- | src/commands/config/config.ts | 1 | ||||
| -rw-r--r-- | src/commands/config/features.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index 5346924..2fae2fd 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -354,7 +354,6 @@ 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 7fa82a9..2e7d623 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) ) ) |
