Buckets#
The current bucket offerings which are built in.
Note, this package is not dependant on Nextcord and if you do not have it there won’t be any issues if you don’t use it.
- class cooldowns.buckets.CooldownBucket(value)
A collection of generic CooldownBucket’s for usage in cooldown’s.
See
cooldowns.protocols.bucket.CooldownBucketProtocol
- all
The buckets are defined using all arguments passed to the Callable
- args
The buckets are defined using all non-keyword arguments passed to the Callable
- kwargs
The buckets are defined using all keyword arguments passed to the Callable
This requires a full import, and Nextcord.
- class cooldowns.buckets.slash.SlashBucket(value)
A collection of generic cooldown bucket’s for usage with nextcord slash commands which take
Interaction
- author
Rate-limits the command per person.
- guild
Rate-limits the command per guild.
- channel
Rate-limits the command per channel
- command
Rate-limits the entire command as one.