This commit is contained in:
parent
013828e18b
commit
e9bdb8b008
@ -14,11 +14,12 @@ async function loadChoices() {
|
||||
}));
|
||||
} catch (err) {
|
||||
console.error("Erro ao carregar escolhas:", err);
|
||||
return [];
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
// Carrega as escolhas antes de definir o comando
|
||||
let dynamicChoices = [];
|
||||
loadChoices()
|
||||
.then(choices => {
|
||||
dynamicChoices = choices;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user