mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Correct app command decorators that use Interaction
This commit is contained in:
@@ -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__ = (
|
||||
|
Reference in New Issue
Block a user