Correct app command decorators that use Interaction

This commit is contained in:
Trevor authored and GitHub committed 2023-01-18 21:10:08 -05:00
1 parent a8177dd5bd
commit 2e737e70de
2 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -59,8 +59,8 @@ if TYPE_CHECKING:
from ..interactions import Interaction
CooldownFunction = Union[
Callable[[Interaction], Coroutine[Any, Any, T]],
Callable[[Interaction], T],
Callable[[Interaction[Any]], Coroutine[Any, Any, T]],
Callable[[Interaction[Any]], T],
]
__all__ = (