ProgrammingPhilippines / progphil-bot

Programming Philippines Discord Bot
MIT License
23 stars 6 forks source link

Spam trap #236

Open Gerv-G opened 5 months ago

Gerv-G commented 5 months ago

Is your feature request related to a problem? Please describe. Bots and spammers can evade detection through various means e.g. adjusting the intervals of their messages. But one of their common behaviour is that they often send their messages in public channels. We can leverage this weakness by trapping them in a dedicated channel.

Such feature is already present in Osu! PH Discord server.

Describe the solution you'd like

  1. Admin/mods to setup a channel (let's call this #do-not-talk-here) warning human users that they should not send a message there lest they be banned.
  2. Progphil bot to watch the specified channel
    • sample could be /trap do-not-talk-here
  3. When a non-admin or non-mod user sends a message in this channel, they'll be banned
    • for reconsideration: maybe just softbanned?
  4. Their message(s) should be automatically deleted

Describe alternatives you've considered I've checked the bots we have (Dyno and Carl) and they do not have such feature. There's a similar bot but this is unverified. Security and functionality may be an issue

Additional context Nothing else to add. We just hate spammers.