#Message ID
1 messages · Page 1 of 1 (latest)
Well Discord doesn't expose the search API to bots, so you'd have to either keep track manually, or fetch and filter
How do you fetch and filter?
@deft bone GetMessagesAsync
Docs:
Source:
Summary:
Returns a list of messages from the last message in the channel.
The amount of messages to fetch.
Overloads:
1- Task<IReadOnlyList<DiscordMessage>> GetMessagesAsync(int limit = 100)
Also found in (2/2):
DiscordThreadChannel
DiscordDmChannel
Type help to see keywords to filter your query.
From there, you iterate the results and grab whatever message is relevant for you
I see I'll look into this thank you!
Also, you can subscribe to the MessageCreated event and track the last message a user sent in real time
Smh my head