Could you add https://media.discordapp.net/attachments/ to thr image whitelist
there is a lot of malware that gets uploaded to discord’s cdn
whitelist to image files only?
that would involve my server sending a request to discord, in order to download/analyse the upload — which would be slow and potentially less safe