diff options
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}` |