revanced-helper icon indicating copy to clipboard operation
revanced-helper copied to clipboard

fix: exile command does not transfer messages correctly

Open oSumAtrIX opened this issue 2 years ago • 6 comments

Issue

Images or attachments are not logged in the configured channel when using the command, the original message is not deleted.

Solution

Also consider moving attachments

oSumAtrIX avatar Aug 18 '23 00:08 oSumAtrIX

This would require to download the images or attachments and store it then send it, if we were to delete the orginal message.

Also a reminder, you can only set a single image for embeds. And also no videos for embeds. This'd break "consistency" with the other bot.

reisxd avatar Aug 19 '23 14:08 reisxd

This would require to download the images or attachments and store it then send it, if we were to delete the orginal message.

Yes, the images will eventually be inaccessible (after a couple of days). If that is a problem, you must download and upload the attachments to the new message.

Also a reminder, you can only set a single image for embeds

Multiple solutions are available online, you can otherwise attach them to the message regularly. Same for videos, no consistency problem is caused here.

oSumAtrIX avatar Aug 19 '23 15:08 oSumAtrIX

Can there be a field in the embed where all of the attachments links are in there? Like This:

Restricted to ... Attachments Image 1 Image 2 Video 1

Orginal Message hwo to get peevanc

reisxd avatar Sep 23 '23 11:09 reisxd

Discord eventually restricts access to deleted attachments if the original message is deleted. Also the links wouldn't embed, I think reuploading is necessary for that reason, but it's not really efficient

oSumAtrIX avatar Sep 23 '23 12:09 oSumAtrIX

Reuploading them could take a long time depending on what the member has posted. Also, there's 25MiB file size for uploading content. Which means that Nitro users could upload a bigger content and the bot could not transfer it, unless it gets splitted (which requires more code and more time to transfer the message).

reisxd avatar Sep 23 '23 15:09 reisxd

Discord eventually restricts access to deleted attachments if the original message is deleted.

A solution for this should be proposed then. If the bot fails to upload an attachment, link it, otherwise upload it.

oSumAtrIX avatar Sep 23 '23 16:09 oSumAtrIX

Closing as it is tied to #19

PalmDevs avatar Aug 16 '24 05:08 PalmDevs