Skip to content

Commit 9ee1dc4

Browse files
LumabotsSoheab
andauthored
Update discord/commands/core.py
Co-authored-by: Soheab <[email protected]> Signed-off-by: Lumouille <[email protected]>
1 parent be7b0d7 commit 9ee1dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def reset_cooldown(self, ctx: ApplicationContext) -> None:
398398
The invocation context to reset the cooldown under.
399399
"""
400400
if self._buckets.valid:
401-
bucket = self._buckets.get_bucket(ctx)
401+
bucket = await self._buckets.get_bucket(ctx)
402402
bucket.reset()
403403

404404
def get_cooldown_retry_after(self, ctx: ApplicationContext) -> float:

0 commit comments

Comments
 (0)