Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Add per-camper "Thank You" rate limit #9

Open
SaintPeter opened this issue Nov 17, 2015 · 4 comments
Open

Add per-camper "Thank You" rate limit #9

SaintPeter opened this issue Nov 17, 2015 · 4 comments
Labels

Comments

@SaintPeter
Copy link
Member

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.

@BerkeleyTrue
Copy link
Contributor

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

@raisedadead
Copy link
Member

Close as done? @BerkeleyTrue

@BerkeleyTrue
Copy link
Contributor

@raisedadead Is it done?

@raisedadead
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants