From 5ec81e9b3dbf5831ae56a3362a390d60f2aa0a5a Mon Sep 17 00:00:00 2001 From: Bxio Date: Fri, 4 Apr 2025 21:07:06 +0100 Subject: [PATCH] --- src/commands/Community/testeadd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')