Discord's Audit Log only creates an entry if a moderator deletes someone else's message.
If a user deletes their own message, the audit stays silent, what creates a logic gap:
How do you tell the difference between a user or moderator cleaning up the message?
I've never seen a definitive solution that actually handles the stacked deletion problem, so I created this gist.
By caching the state of the last known deletion action, we can pinpoint exactly when a new action occurs,
even if multiple moderators are active or if one moderator is deleting messages rapidly (one by one, not bulk).