#Short Api

1 messages · Page 1 of 1 (latest)

timber wagon
#

What is the error?

#

What is happening

crystal hedge
#

wait

#

should i add await?

prime yew
#

what does short api means ? can you not assume but explain issue so others seeing post can understand and help

crystal hedge
#

await result.source.runCommandAsync('command

prime yew
crystal hedge
finite ridge
#

Try to debug by adding console.warn("Switch") on top of switch case

crystal hedge
#

it works

finite ridge
#

Something wrong with command then

#

Idk

crystal hedge
#

thanks that really helps me

#

okay thank you alot and thank you for your time, the problem is the switch/case

#

i tried using the console.warn using what i picked

#

and it works, so I'll just gonna use if/else statement for it

#

@finite ridge goodnight

#

CLOSED

prime yew
#

should i mark it as resolved ?@crystal hedge

#

nvm

#

gonna close it

crystal hedge
#

yes pls