#setParent() is not a function error

17 messages · Page 1 of 1 (latest)

edgy coyoteBOT
#
  • 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!
ripe scarab
#

Might be easier to just specify the parent in the create method

atomic mist
#

what??

#

sry

#

wdum

#

idk how to do that

ripe scarab
#

.create({name: …, type: …, parent: … })

atomic mist
#

thats why i did that lol

#

oh

#

it doesnt say thats an option in docs

#

i swear

tired garnetBOT
ripe scarab
#

Click on the typedef for options

atomic mist
#

oh i missed it

#

i also have an issue

#

with

#

it not setting channel