#DJS V13 - Slash Commands Question

1 messages · Page 1 of 1 (latest)

vague valve
#

DJS V13 - Slash Commands Question

storm patio
#

Those are choices.

lethal prawn
#

specify choice for that option

vague valve
#

but i don't see Choice here

vague valve
storm patio
vague valve
#

also ignore the red its normal

storm patio
#

Add choices

#

(Only works on string options)

vague valve
#

ok so 3 is the thing for string

#

so i changed 6

#

to 3

vague valve
lethal prawn
#

it's an array

vague valve
#

so like

#

[]?

storm patio
vague valve
#

i use LUA so im not great at DJS

lethal prawn
#

and its type is
{
name: string,
value: string
}

#

those choices will be the only thing the user can choose
keep that in mind

vague valve
storm patio
#

Still did not make it an array.

lethal prawn
#

it's an array

vague valve
#

it is an array

storm patio
#

choices: [{ name: 'Testing', value: 'value' }]

lethal prawn
#

it is not