Plans

Message Filter

v1
By MEE6
Auto-delete messages matching regex patterns, DM authors their content

Prompt

Delete messages matching a list of regular expressions in the code (phone numbers, invite links, crypto addresses), DM the author their text so they can repost it fixed, and let the @Staff role add a pattern with /filter add and see them with /filter list

What else does it do?

Automatically removes messages matching configurable regex patterns (phone numbers, Discord invites, crypto addresses by default) and DMs the author their message so they can repost it fixed. Staff can add custom patterns with /filter add, view all patterns with /filter list, and remove them with /filter remove.

Commands it adds

  • /filter add
    Add a filter pattern (staff only)
  • /filter list
    List all filter patterns (staff only)
  • /filter remove
    Remove a filter pattern by number (staff only)

Reacts to

message

Made by MEE6. Remix it to get a copy of your own and change anything you like.

Sandbox · nothing here touches your serverv1
Test server
Text channels
Voice channels
Direct messages
Testing as
MEE6MEE6
MEE6
MEE6AppToday at 11:15 AM
⚠️ Message Removed

Your message in #general was removed because it matched a filter: Phone numbers

You can repost it after fixing the issue.

Your message

Call me at 555-123-4567 if you need help!

🔗 Sent from Test server
MEE6
MEE6AppToday at 11:15 AM
⚠️ Message Removed

Your message in #general was removed because it matched a filter: Email addresses

You can repost it after fixing the issue.

Your message

Contact me at [email protected]

🔗 Sent from Test server