Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 28 forks source link

[Feature request] Change invite filter heat to author only #52

Open EternalllZM opened 2 years ago

EternalllZM commented 2 years ago

Cog

Describe the feature you'd like to see A configurable short cool down on the notifications from modules such as invite filter and comment analysis would be nice. When it comes to invite filter, spam bots can usually get a good 1-3 invites in before they are removed.

If you use a warden rule to relay this information, a simple heat condition check prevents this from behaving like the invite filter and it can only run its notify-staff action once before the invite spammer is removed.

EternalllZM commented 2 years ago

Example below. A warden rule handles the ban instead of the invite filter itself for context.

IF

Twentysix26 commented 2 years ago

They do have such a cooldown already, it is on a per channel (+author) basis though. The spammer here is posting to different channels. I'll think about restricting it to author exclusively.