message.channel.totalMesssgeSent returning undefined

Message and message.channel are the value that they are supposed to be. I have the MessageContent, Guilds and MessageCreate intents. I do not have any partials,
6 Replies
d.js toolkit
d.js toolkit12mo ago
- 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 OP
treble/luna
treble/luna12mo ago
Because that property doesnt exist You cannot get all messages in a channel
Maxi130
Maxi130OP12mo ago
No description
Maxi130
Maxi130OP12mo ago
Shows as any when hovering over it tho. Was this a feature in the past?
treble/luna
treble/luna12mo ago
Thats for threadChannels, as indicated
Maxi130
Maxi130OP12mo ago
Oh, I totally missed that.
Want results from more Discord servers?
Add your server