From a25ec95743364ce3ba9fb53ada950a9a6da0f273 Mon Sep 17 00:00:00 2001 From: Bxio Date: Sat, 5 Apr 2025 09:29:11 +0100 Subject: [PATCH] --- src/commands/Community/testeadd.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/Community/testeadd.js b/src/commands/Community/testeadd.js index a7d22f8..0b8bdc1 100644 --- a/src/commands/Community/testeadd.js +++ b/src/commands/Community/testeadd.js @@ -42,7 +42,10 @@ module.exports = { .setRequired(true) // Se as escolhas ainda não estiverem carregadas, defina um conjunto padrão para evitar erros. - .addChoices(...(dynamicChoices.length ? dynamicChoices : dynamicChoices)) + .addChoices(...(dynamicChoices.length ? dynamicChoices : [ + { name: 'Opção Padrão 1', value: '0' }, + { name: 'Opção Padrão 2', value: '1' } + ])) ) .addStringOption(option => option.setName('tipo_sanguinio1')