#Retrieving lots of options from slash command

15 messages · Page 1 of 1 (latest)

open ospreyBOT
#
  • 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!
quartz heron
#

it’s too long to type interaction.options.getString(…) ?

hushed rock
#

theres loads of options ini

#

so i was wondering if theres a way to just do it in one line

distant peak
#

Even if you get the data from interaction.data, it wouldn’t be parsed

hushed rock
#

should i just write them all out individually then

distant peak
#

Yea

hushed rock
#

alr cool

#

thanks

#

dyu have any thing else to say or should i just close the thread?

distant peak
#

The only other way I could think of is to make ur own arguments handler

hushed rock
#

ill just write them out its cool

#

thanks for the help