Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JavaProgswing opened this issue May 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JavaProgswing
Copy link

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 JavaProgswing added the enhancement New feature or request label May 3, 2024
@andrew-09
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No Status
Development

No branches or pull requests

2 participants