DiscordSRV

DiscordSRV

86.8k Downloads

A way to auto-delete scams

srnyx opened this issue ยท 4 comments

commented

Why?

Recently, tons of Discord scams have been going around and when they're posted in a Discord --> Minecraft channel, they are also sent into the Minecraft chat.

What and How?

There are many ways to do this:

  1. Messages deleted in Discord will be deleted in Minecraft
  2. An option to not send Discord messages that contain a link
  3. A global list of Discord scam links that won't be sent (like a links.txt file added on startup)

Are there alternatives?

Not that I can think of

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.
commented

You're looking for the DiscordChatChannelDiscordFilters option.

commented

After re-reading your issue and discussing it with the team, I've created #1286, which would allow a discord bot to delete a message before it's sent to minecraft.

commented

You're looking for the DiscordChatChannelDiscordFilters option.

How did I miss that lol
Is there a website for creating RegEx filters?

commented

You'd have to search for one but we often use https://regex101.com/ to parse any we make/find. The option already has one as an example, so feel free to build off of that as you learn how to create regex expressions. You can also open a support ticket in our discord server if you run into any issues with the regex expression you make/find.