From cdf2ec148f8eab754405d5f52e639aa9bdbc6022 Mon Sep 17 00:00:00 2001 From: Bxio Date: Fri, 4 Apr 2025 21:33:54 +0100 Subject: [PATCH] --- src/commands/Community/testeadd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/Community/testeadd.js b/src/commands/Community/testeadd.js index e15e609..0e47905 100644 --- a/src/commands/Community/testeadd.js +++ b/src/commands/Community/testeadd.js @@ -42,7 +42,7 @@ module.exports = { .setRequired(true) // Se as escolhas ainda não estiverem carregadas, defina um conjunto padrão para evitar erros. - .addChoices(...(dynamicChoices.length ? loadChoices() : [ + .addChoices(...(loadChoices().length ? loadChoices() : [ { name: 'Opção Padrão 1', value: '0' }, { name: 'Opção Padrão 2', value: '1' } ]))