codinglab-io / discord-bot

Discord bot for Codinglab's server.
https://discord.com/invite/codinglab-174169014568878080
MIT License
18 stars 14 forks source link

feat(quoi-feur): cumulative streak punishment and prevent mute evading #137

Open notAutomne opened 6 months ago

notAutomne commented 6 months ago

To improve fun:tm: and punish players in the most efficient way, the mute is now an accumulation of how many times "quoi" has been said since the last timeout. e.g.: An "akhy" spam "quoi" 10 times and didn't get a timeout, then another random try to say "quoi" and got chosen by the "pseudo-randomness": he will be muted for 11 minutes

The second feature is to prevent cheat by muting before displaying "coubeh". Some users just delete their messages before they get muted by the bot.

neolectron commented 5 months ago

I do like the changes, good proposal. have you tested it on your end ?

It seems that you have some unsuccessful checks

image