retrieve all messages from a user

Hello, I wanted to know if it was possible to retrieve all the messages that a user has sent in a Channel, which are not necessarily in the bot cache. I've already tried fetching by 100, but it's way too long and makes too many API calls, so is there another way ?
5 Replies
d.js toolkit
d.js toolkit4mo 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
Kinect3000
Kinect30004mo ago
No Besides storing all messages in a db when you receive it in messageCreate and querying from there
Sh!ki
Sh!kiOP4mo ago
It's a shame that there is no way to do this, especially since with our user account, when we search for a message we get the total number of messages sent.
Mark
Mark4mo ago
Discord has user privacy and security in mind with limits such as these
Sh!ki
Sh!kiOP4mo ago
I see 🤔
Want results from more Discord servers?
Add your server