We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7b0d7 commit 9ee1dc4Copy full SHA for 9ee1dc4
discord/commands/core.py
@@ -398,7 +398,7 @@ def reset_cooldown(self, ctx: ApplicationContext) -> None:
398
The invocation context to reset the cooldown under.
399
"""
400
if self._buckets.valid:
401
- bucket = self._buckets.get_bucket(ctx)
+ bucket = await self._buckets.get_bucket(ctx)
402
bucket.reset()
403
404
def get_cooldown_retry_after(self, ctx: ApplicationContext) -> float:
0 commit comments