Randomly Started Happening
Every time I use a command, this error appears and it’s never happened before.
17 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!
- ✅
Marked as resolved by staffRefer to the message below
Revert to discord.js
v14.14.1
(upstream documentation suggests the data is always present, which it is not)Same error for me. The thing is bot state doesn't changed for 2 month and everything was okay. Started happening literally 30 minutes ago
I’m on 14.15.3
Yup
I have like 6 bots running, and they all have same error, maybe discord broke something?... Anyway i'll check if something in my end broken
Perfectly fine a few hours ago and for months
That’s what I was thinking
I never changed anything
And it started happening
It is not an issue with your guys' code
It is a known issue due to unexpected API changes
I was assuming something changed
Downgrade to d.js version 14.14.1 to resolve the issue for now
I was betting on that with doubt, like why you will update smth that break other thing, lmao. But I guess thats why coding is fun, ty for help!
I’m using free bot hosting net and idk how to change the version 😭
I suggest contacting that host's support in that case
Yea
The same thing is happening for me...
Ah, there's a GH issue
I know a fix
It says it there