internal channel.messages.cache.(...) is crashing the bot

Hey there, I'm getting the error in the screenshot below repeatedly and I have no idea where it comes from. I already updated Discord.js to the latest version, but that does not fix it. I'm wondering what to do about it.
14 Replies
chewie
chewie3y ago
npm ls discord.js please
EtzBetz
EtzBetzOP3y ago
EtzBetz
EtzBetzOP3y ago
hmm
chewie
chewie3y ago
npm removed discord.js npm i [email protected]
EtzBetz
EtzBetzOP3y ago
i think i fixed it now in another way
Rodry
Rodry3y ago
you shouldn't do that
EtzBetz
EtzBetzOP3y ago
Rodry
Rodry3y ago
all you need to do is npm i discord.js
chewie
chewie3y ago
yes, they didnt have 13.8.1 installed probably crashed on a vc text
EtzBetz
EtzBetzOP3y ago
I'm not certain, I may could have just updated the package.json file manually because i didnt know how to update properly to latest at that time i now did npm i [email protected] and it now shows correctly i would guess?
chewie
chewie3y ago
I always specify the version in cases like this so it wont happen that they install a wrong version for whatever reason
Rodry
Rodry3y ago
specifying a version is always wrong, you should be using @latest
chewie
chewie3y ago
how is specifying the latest version wrong
Rodry
Rodry3y ago
because it removes the ^ you should only do that when downgrading to a specific version yes could be a yarn thing then
Want results from more Discord servers?
Add your server