diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-27 21:42:06 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-27 21:42:06 -0500 |
commit | b5ada8dca12013bfc730a50f4e8808d61bce23ba (patch) | |
tree | 721f5c0f3068a7f98b30e257b3d58b2713f2f9bf /src/commands/config/config.ts | |
parent | 973bbebfd0a47b0b36d19fccf6a882e971beaaa5 (diff) | |
download | tanzanite-b5ada8dca12013bfc730a50f4e8808d61bce23ba.tar.gz tanzanite-b5ada8dca12013bfc730a50f4e8808d61bce23ba.tar.bz2 tanzanite-b5ada8dca12013bfc730a50f4e8808d61bce23ba.zip |
fix(FeaturesCommand): properly hide disabled features
Diffstat (limited to 'src/commands/config/config.ts')
-rw-r--r-- | src/commands/config/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts index f860b30..6cb493d 100644 --- a/src/commands/config/config.ts +++ b/src/commands/config/config.ts @@ -358,7 +358,7 @@ export default class ConfigCommand extends BushCommand { }; const components = new ActionRow().addComponents( - new ButtonComponent().setStyle(ButtonStyle.Primary).setCustomId('command_settingsBack').setLabel('Back') + new ButtonComponent({ style: ButtonStyle.Primary, customId: 'command_settingsBack', label: 'Back' }) ); settingsEmbed.setDescription( `${Formatters.italic(guildSettingsObj[setting].description)}\n\n**Type:** ${guildSettingsObj[setting].type}` |