GrimAnticheat / Grim

Fully async, multithreaded, predictive, open source, 3.01 reach, 1.005 timer, 0.01% speed, 99.99% antikb, "bypassable" 1.8-1.20 anticheat.
GNU General Public License v3.0
1.06k stars 300 forks source link

Setting to only send webhook in specific violation range #856

Open c0dingnoobi opened 1 year ago

c0dingnoobi commented 1 year ago

Feature description

It would be useful to have an option in discord.yml which may reduce webhook spams.
This option will take two arguments, one for lowerLimit another one for higherLimit. If the option is true, grim will only send alerts to webhook if the violation of a specfic check is in that specific range.

If lowerLimit == higherLimit it will be considered as having the setting set false Default values will be 1 and 1.

MWHunter commented 1 year ago

So you want an upper limit to violation executions?

c0dingnoobi commented 1 year ago

basically, yea if violation < upperLimit --> send webhook if it exceeds the upperLimit do nothing