paris-ci / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
6 stars 1 forks source link

Add flood protection #73

Closed Afootpluto closed 8 years ago

Afootpluto commented 8 years ago

Add a variable flood protection

paris-ci commented 8 years ago

well... There is ! It's the built-in rate limiting (check in your config)

Afootpluto commented 8 years ago

Like people cant use the exact same command in a short amount of time.

paris-ci commented 8 years ago
[22:08:21]  <@WayToDoor>    !hh
[22:08:21] -pouet-  Je vérifie le statut des serveurs ! Cela prends environ 20 secondes, voire moins !
[22:08:21]  <@WayToDoor>    !hh
[22:08:22] -pouet-  Je vérifie le statut des serveurs ! Cela prends environ 20 secondes, voire moins !
[22:08:22]  <@WayToDoor>    !hh
[22:08:22] -pouet-  Je vérifie le statut des serveurs ! Cela prends environ 20 secondes, voire moins !
[22:08:22]  <@WayToDoor>    !hh
[22:08:22] -pouet-  Je vérifie le statut des serveurs ! Cela prends environ 20 secondes, voire moins !
[22:08:22]  <@WayToDoor>    !hh
[22:08:23]  <@WayToDoor>    !hh
[22:08:23]  <@WayToDoor>    !hh
[22:08:24]  <@WayToDoor>    !hh

As you can see, I used the command four times than the bot stopped responding to my commmands for a short amount of time