Skip to content

Commit 836ec0d

Browse files
committed
Updat bucket key type
1 parent d6a8e92 commit 836ec0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twitchio/ext/commands/cooldowns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def is_dead(self) -> bool:
286286
return now > (self.last_updated + self.per)
287287

288288

289-
KeyT: TypeAlias = Callable[[Any], Hashable] | Callable[[Any], Coroutine[Any, Any, Hashable]] | BucketType
289+
KeyT: TypeAlias = Callable[..., Hashable] | Callable[..., Coroutine[Any, Any, Hashable]] | BucketType
290290

291291

292292
class Bucket(Generic[PT]):

0 commit comments

Comments
 (0)