Filter Audit Log After ID
It would be really useful to be able to filter the Audit Log in an API request after an entry ID.
It's currently possible to filter before an entry ID, but not after one.
This would have particular value for bots which need to traverse the Audit Log in an efficient manner. For instance, a bot might process Audit Log entries on a regular basis. It might have a record of every Audit Log entry which it has processed. Every interval, it might wish to process every new Audit Log entry, if any, after the last entry it knows it processed. By filtering after the last entry ID it knows, it would be able to do so, without wasting API requests on entries it has already processed.
For channel messages, it's currently possible to filter before, around, and after a message ID. It would be great to have the same ability for the Audit Log.
Please sign in to leave a comment.
Comments
0 comments