API Feature Request - Filters for GET/channels/{channel.id}/messages #4463
Unanswered
Bobby-Carter
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to write an application that can retroactively act as a leaderboard for which messages have the most emojis. I think it is fully possible to create a bot that listens and keeps track of all cached messages, but un-cached messages are a problem.
Getting old messages through the API is limited at 500 messages every 5s, and in a server with multiple channels that have 50,000+ messages, it just doesn't seem realistic to include messages pre-bot in the rankings.
I'm hoping to request a feature that would allow the caller to filter which messages are returned through url parameters. For example,
GET/channels/{channel.id}/messages?reactions=true
returning only messages with reactions on them would be fantastic.
Would anyone else appreciate this feature? Any suggestions to accomplish my goal in the meantime?
Beta Was this translation helpful? Give feedback.
All reactions