camper-gitter-bot icon indicating copy to clipboard operation
camper-gitter-bot copied to clipboard

Add per-camper "Thank You" rate limit

Open SaintPeter opened this issue 10 years ago • 4 comments
trafficstars

No more than X Thanks Yous per minute/hour/etc. Also, maybe no more than ?10? per thank you. Don't award any points at all if there are more than a certain number of @mentions in a message?

We had an issue where someone came into the main channel and spammed thank yous A LOT. It took a long time for Camperbot to process them all and could have acted like a DOS to the API and Camperbot.

SaintPeter avatar Nov 17 '15 21:11 SaintPeter

@SaintPeter A debounce on a per user bases would work magic here

BerkeleyTrue avatar Nov 17 '15 22:11 BerkeleyTrue

Close as done? @BerkeleyTrue

raisedadead avatar Jul 20 '16 13:07 raisedadead

@raisedadead Is it done?

BerkeleyTrue avatar Jul 20 '16 15:07 BerkeleyTrue

Sorry my bad, I figured it was the other way round. We do see the bot not accept thank yous to same receiver in an hour. Here we want to limit the no of requests a sender can make.

raisedadead avatar Jul 20 '16 17:07 raisedadead