class Discordrb::Commands::SimpleRateLimiter

This class provides a convenient way to do rate-limiting on non-command events. @see RateLimiter

Public Class Methods

new() click to toggle source

Makes a new rate limiter

# File lib/discordrb/commands/rate_limiter.rb, line 140
def initialize
  @buckets = {}
end