Default Bucket Accessor
class DefaultBucketAccessor(scope: RateLimitScope, bucketFactory: BucketFactory) : BucketAccessor(source)
Default BucketAccessor implementation based on rate limit scopes.
Note: The rate limit scopes using guilds or channels are limited to guild-only events, a user rate limit is applied if the limitation is violated.
See also
Functions
Link copied to clipboard
open suspend override fun getBucket(context: BContext, event: GenericComponentInteractionCreateEvent): Bucket
open suspend override fun getBucket(context: BContext, event: GenericCommandInteractionEvent, commandInfo: ApplicationCommandInfo): Bucket
open suspend override fun getBucket(context: BContext, event: MessageReceivedEvent, commandInfo: TextCommandInfo): Bucket