diff --git a/src/commands/Community/testeadd.js b/src/commands/Community/testeadd.js index d60e36f..1dae25f 100644 --- a/src/commands/Community/testeadd.js +++ b/src/commands/Community/testeadd.js @@ -14,7 +14,7 @@ async function loadChoices() { })); } catch (err) { console.error("Erro ao carregar escolhas:", err); - return ; + return []; } } @@ -38,7 +38,7 @@ module.exports = { .setDescription('Arisu - Escolhe uma opção') .setRequired(true) // Se as escolhas ainda não estiverem carregadas, defina um conjunto padrão para evitar erros. - .addChoices(dynamicChoices) + .addChoices({ name: 'agua', value: '2' }, { name: 'pao', value: '1' }) ) .addStringOption(option => option.setName('tipo_sanguinio1')