rosalogia / rucs24-bot

A discord bot for the Rutgers Class of 2024 Computer Science server
MIT License
6 stars 11 forks source link

[BUG] Message Deletion/Edit Logger cannot log deletion of files including images #54

Closed rosalogia closed 3 years ago

rosalogia commented 3 years ago

Describe the bug The LogCog is currently unable to produce logs when files such as images are deleted. This is not ideal. The deletion of files, especially images, should be logged.

To Reproduce Steps to reproduce the behavior:

  1. Send a message containing an image
  2. Delete it and check the designated log channel (!setlogchannel <channel id> if you have not done so already)
  3. Notice that the image is not included in the logged output

Expected behavior Messages that contain files including images should be logged with the file when deleted or edited

Screenshots

Sending a message with an image: image

How it's logged when deleted: image

Desktop (please complete the following information):