diff --git a/src/commands/Community/testeadd.js b/src/commands/Community/testeadd.js index 0e47905..b01eb71 100644 --- a/src/commands/Community/testeadd.js +++ b/src/commands/Community/testeadd.js @@ -51,10 +51,10 @@ module.exports = { option.setName('tipo_sanguinio1') .setDescription('Escolha uma opção do banco de dados') .setRequired(true) - .addChoices(...(dynamicChoices.length ? dynamicChoices : [ - { name: 'Opção Padrão 1', value: '0' }, - { name: 'Opção Padrão 2', value: '1' } - ])) + .addChoices([ + { name: 'Opção Padrão 1', value: '0' }, + { name: 'Opção Padrão 2', value: '1' } + ] : ...(dynamicChoices.length ? dynamicChoices )) ), async execute(interaction, client) {