TypeError: client.handleEvents is not a function
Only lately stopped working, Worked perfectly fine before unsure whatd going on.
14 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- 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!where do you define that function
I already know ive done something wrong here I just cant figure it out
i dont see you define that function anywhere
Nor the other 2 listed there
Both, I used guides when I got stuck but they just aint helping anymore, This is my first time using DJS since like Feb 2022 so Ive had to use some vids and guides
yeah thats why
there's no such thing as handleEvents
You have to define it yourself
Follow the guide
Thanks
so this should work?
yes
Alright, let me try it..
thats not a djs error
you're supposed to either follow the same file structure as the guide, or edit it to your own