Correct app command decorators that use Interaction

This commit is contained in:
Trevor
2023-01-18 21:10:08 -05:00
committed by GitHub
parent a8177dd5bd
commit 2e737e70de
2 changed files with 13 additions and 13 deletions

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__ = (