This commit is contained in:
parent
b9d3e25be4
commit
d25bc103f6
@ -42,10 +42,7 @@ module.exports = {
|
||||
.setRequired(true)
|
||||
// Se as escolhas ainda não estiverem carregadas, defina um conjunto padrão para evitar erros.
|
||||
|
||||
.addChoices(...(dynamicChoices : [
|
||||
{ name: 'Opção Padrão 1', value: '0' },
|
||||
{ name: 'Opção Padrão 2', value: '1' }
|
||||
]))
|
||||
.addChoices(...(dynamicChoices.length : dynamicChoices))
|
||||
)
|
||||
.addStringOption(option =>
|
||||
option.setName('tipo_sanguinio1')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user