TJ-Bot icon indicating copy to clipboard operation
TJ-Bot copied to clipboard

Automatically convert forbidden file types to txt and send them as an attachment(Only for ones which are not in binary format)

Open JavaProgswing opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Whenever I send a forbidden file-type(for example vbs) to a channel, it flags my message. Sends a dm to me, informing me about the same and deleting my message. But If I convert the same to txt and send it, it does work.

Describe the solution you'd like I would like the bot to delete my message, but also convert my file to txt and send it as an attachment. If from the list of forbidden extensions the bot has hardcoded, the extension is among the ones which are readable/not generally in binary.

Additional context Hey there, you posted a message containing a blacklisted file attachment: ...vbs We had to delete your message for security reasons.

JavaProgswing avatar May 03 '24 17:05 JavaProgswing

Has anyone started on this already? If not may I work on it?

andrew-09 avatar Sep 15 '24 23:09 andrew-09