47 Commits (master)

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