flottbot icon indicating copy to clipboard operation
flottbot copied to clipboard

Native way to throttle bot usage

Open JordanSussman opened this issue 6 years ago • 0 comments

Limit how many times a bot will trigger a rule based on a user defined param. For example:

I'm running a bot on a remote system/ against an api that doesn't have rate limiting in place, i could have my remote system/api ddos'ed by a malicious user through the bot. Maybe set some reasonable default of 60 times/hr or something.

  • https://github.com/golang/go/wiki/RateLimiting could be also
  • https://github.com/bwmarrin/discordgo/blob/master/ratelimit.go is already implementing rate limiting

JordanSussman avatar Aug 31 '18 20:08 JordanSussman