notsniped / discord-snipe-bot

A simple message content sniping Discord bot which you can run yourself!
GNU General Public License v3.0
7 stars 5 forks source link

Fix bug where deleted or edited messages were not read #22

Closed notsniped closed 1 year ago

notsniped commented 1 year ago

Turns out the intents.message_content property was not set to True. This led to denied permission to read deleted or edited messages from the client-side.

This update sets the intent property to True, which should let the client read and log deleted and edited messages.