#How do you get interaction data from boolean option?

27 messages · Page 1 of 1 (latest)

night glacierBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
keen lake
#

and what do you get out of that?

orchid canyon
keen lake
#

which is exactly what a boolean is

#

not sure what's the issue here

orchid canyon
#

Ok ok So a boolean can either be true or false

keen lake
#

that's what a boolean is

#

if you don't know what a boolean is, why are you using it? and also, if you don't know that, you probably should brush up on some js basics

orchid canyon
#

Now I want to put that boolen value into a variable

keen lake
#

yeah, this is just basic javascript

orchid canyon
#

Yea but this is a splash command

keen lake
#

knowing how to make a variable very much doesn't matter what it's used for

orchid canyon
#

When you run the splash command the bot thakes that data and puts in a variable

keen lake
#

then do just that

orchid canyon
#

Eg for string option:

#

This is for string option not boolean

keen lake
#

y-yes, but you can change it

orchid canyon
#

This is for a string option not boolean

keen lake
#

how clueless are you about what you're doing? if this is your first time ever touching javascript, i really do recommend going through basics firts before trying make a bot

orchid canyon
#

plesse tell me how to get the boollean option

keen lake
#

you literally just did it

orchid canyon
keen lake
#

yes, the thing you posted in the first message here

orchid canyon
keen lake
#

i see getBoolean here

#

and you even answered my question like it was actually the getBoolean

orchid canyon
#

Oh I edited that my bad ig