47 Commits (59991e9ed7ce411dc87470b9695434030e4b65d3)

Author SHA1 Message Date
Josh 0ce75f3f53
[commands] Fix issue with category cooldowns outside of guild channels 2 years ago
Rapptz 2b51e5e736 [commands] Change import for PrivateChannel for cooldowns 3 years ago
Bryan Forbes 07ad6951fb
Fix various generics throughout the public interface 4 years ago
Mikey 311891912e
[commands] Change cooldowns to take context instead of message 4 years ago
z03h 2be65e5874
[commands] Fix errors when DynamicCooldown returns None 4 years ago
Florian Spieß 0e5c4c391d
[commands] Allow subtracting multiple tokens from cooldown 4 years ago
Cryptex 7d2e5be3a1
[commands] Allow DynamicCooldownMapping factory to return None 4 years ago
Rapptz 9f83eb6032 Add application command cooldown decorators 4 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 4 years ago
Han Seung Min - 한승민 93af158b0c
Refactor loop code to allow usage of asyncio.run 4 years ago
Josh 147948af9b
Use typing.Self throughout library 4 years ago
Nihaal Sangha 90cabd1673
Fix various typos 4 years ago
Rapptz 88b520b5ab Reformat code using black 4 years ago
Josh 1c63816cc0
[commands] Document / type-hint cooldown 5 years ago
Rapptz d047cebc35 [commands] Remove window reassignment when tokens reach 0 5 years ago
Rapptz a3d7e06f25 [commands] Add back CommandOnCooldown.type 5 years ago
Rapptz 1ecadf057e [commands] Fix errors with cooldown mappings 5 years ago
Dan Hess f2d5ab6f80
[commands] Provide a dynamic cooldown system 5 years ago
Rapptz 99fc950510 Use f-strings in more places that were missed. 5 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 5 years ago
Mikey d61486278f
[commands] allow arbitrary callables in cooldown 5 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 6 years ago
Dan Hess 3a9fd00a1a
[commands] Provide a way to retrieve time left for a cooldown 6 years ago
s0lst1ce 2d48a6d5a1 [commands] Fix a typo in the docstring of the internal _Semaphore class 6 years ago
Rapptz e21d49c980 [commands] Only clean semaphore when there are no waiters 7 years ago
Rapptz 1a7b838d2a [commands] Refactor BucketType to not repeat in other places in code 7 years ago
Rapptz bf84c63396 [commands] Add max_concurrency decorator 7 years ago
Rapptz 6071607176 Bump copyright year to 2020 7 years ago
BluePhoenixGame c7d3ebb400 [commands] Add role cooldown bucket 7 years ago
Rapptz 991140eebe Replace Enum with an internal one for significant speed improvements. 7 years ago
Rapptz 6dcd68b8d7 [commands] Allow passing `current` to more cooldown mapping methods. 7 years ago
Rapptz 919dbcafb3 Consistent use of __all__ to prevent merge conflicts. 7 years ago
Rapptz ec7a701ceb [commands] Allow passing reference time to update_rate_limit 7 years ago
Rapptz 9827d6eeaf [commands] Fix issue with decorator order with checks and cooldowns 7 years ago
Dante Dam 9656a21ebe Bumped copyright years to 2019. 8 years ago
Dice 5a585ebf20 Add channel category cooldown bucket type 8 years ago
Hornwitser c8b49d37be [lint] Fix incorrect and inconsistent whitespace 8 years ago
Clement 00a14a46f3 [commands] Added BucketType.members for cooldowns 8 years ago
Rapptz 9b4a2dc7cb [commands] Minor speed-up for the BucketType.guild case. 9 years ago
Rapptz 1bb7b6ff2d [commands] Make CooldownMapping.get_bucket take Message instead. 9 years ago
MysterialPy bae6f80327 [commands] Split Cooldown state processing to two different functions. 9 years ago
Rapptz 63fcfa6d02 [commands] Add CooldownMapping.from_cooldown factory classmethod. 9 years ago
Rapptz ff9f5749e1 Update copyright year to 2017. 10 years ago
Rapptz d1d54a468a Rename Server to Guild everywhere. 10 years ago
Rapptz e4b16851bf Slots use tuples instead now. 10 years ago
Dan Hess b7ffbca0c7 [commands] Added a method to reset command cooldown. 10 years ago
Rapptz cd0de57d13 [commands] Implement a command cooldown system. 10 years ago