This commit is contained in:
parent
cdf2ec148f
commit
35c9021ce5
@ -51,10 +51,10 @@ module.exports = {
|
|||||||
option.setName('tipo_sanguinio1')
|
option.setName('tipo_sanguinio1')
|
||||||
.setDescription('Escolha uma opção do banco de dados')
|
.setDescription('Escolha uma opção do banco de dados')
|
||||||
.setRequired(true)
|
.setRequired(true)
|
||||||
.addChoices(...(dynamicChoices.length ? dynamicChoices : [
|
.addChoices([
|
||||||
{ name: 'Opção Padrão 1', value: '0' },
|
{ name: 'Opção Padrão 1', value: '0' },
|
||||||
{ name: 'Opção Padrão 2', value: '1' }
|
{ name: 'Opção Padrão 2', value: '1' }
|
||||||
]))
|
] : ...(dynamicChoices.length ? dynamicChoices ))
|
||||||
),
|
),
|
||||||
|
|
||||||
async execute(interaction, client) {
|
async execute(interaction, client) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user