#Can't find out where code needs to be

8 messages · Page 1 of 1 (latest)

open iron
#

Hello, I have been trying to figure out where this piece of code goes in my discord bot directory. In the section of Command Handling > Executing Commands.

dense mothBOT
#
  • 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!
  • Marked as resolved by OP
lime shadow
#

in your client.on callback

#

whether you use an event handler or not

open iron
#

in Client.js?

lime shadow
#

depends on if you usr an event handler

#

just where you construct your client probably

#

or in your interactionCreate event if you have a handler