Closed eepykate closed 4 years ago
It appears that the audit log is open to the bot api, so why not check the latest entry when a message has been deleted, and see if it was done by a user, or a mod? If a mod deleted it, they could be added somewhere in the message.
Message Deleted by mod#1234
And then continue like normal.
iirc there is also a gateway event for when a message is deleted, no need to check the audit log
- Doc on discord
It appears that the audit log is open to the bot api, so why not check the latest entry when a message has been deleted, and see if it was done by a user, or a mod? If a mod deleted it, they could be added somewhere in the message.
And then continue like normal.