cam-ball / Steven

With a 'v'
MIT License
2 stars 5 forks source link

Debounce user messages that come in rapidly #15

Open brooksbecton opened 6 years ago

brooksbecton commented 6 years ago

Some users like to fire multiple messages in rapid succession.

Currently steven will count each one of those messages individually towards the counter used to decide when to say something.

It would be better if steven received the first message and waited for a few seconds then incremented the counter. To make sure the user isn't firing many messages off.

cam-ball commented 4 years ago

https://www.rubydoc.info/gems/discordrb/Discordrb/Commands/RateLimiter