From 35c9021ce5d27d76fd07280428b5384bc25d4211 Mon Sep 17 00:00:00 2001 From: Bxio Date: Fri, 4 Apr 2025 21:35:36 +0100 Subject: [PATCH] --- src/commands/Community/testeadd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) {