Skip to content

Forbid posting exe files #484

@Zabuzard

Description

@Zabuzard

The bot should react to any message with attached media and check if it ends on a blacklisted file extension (such as .exe).

Such posts should then be deleted and the bot should inform the user that the file is not allowed for sharing.

For a good UX, we should DM the original message to the user after deleting it, so that it is not fully lost and they can copy-adjust-paste-again instead of having to fully type it out from memory.

Also, the bot should warn moderations about this and give them a copy of the message. This could be done using the ModAuditLogHelper or whatever the helper class was called.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomerspriority: normalvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions