#Do i understand correctly it is *not* possible to fetch all (or x) messages from a specific user?

1 messages · Page 1 of 1 (latest)

sonic verge
#

If i have a userId, there is no way to fetch all (or x latest) messages sent by that user?

So if i do want to create a list of messages sent by a specific user, my best bet is to just loop through the chat history and filter it by userId, and then do that a bunch of times in a loop and then i guess just hope that there aren't 2000+ unrelated messages sent after the last message of the user that i'm looking for so i don't do a bunch of unnessecary discord api calls?

is that correct? Is there a reason for this? I was hoping there would be just a GuildUser.GetMessagesAsync(100) or something like that.

reef pumice
#

Correct
Reason: Discord hasn't made any such endpoint available to bots