Get all messages from a user

Hello, I was wondering if it's possible to get the number of messages sent by a specific user since he is in the server ? I found some codes to get this number but since the bot is in the server, or get the last 100 messages in the channel then check if the user is the one we're looking for. Thank you for answers
3 Replies
d.js toolkit
d.js toolkit8mo 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 staff
duck
duck8mo ago
there is no direct way of doing this any means of attempting to do so would be potentially incredibly spammy the best options is tracking this yourself starting from when the bot joins the server
Céleste ಥ
Céleste ಥOP8mo ago
okay thank you
Want results from more Discord servers?
Add your server