mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Correct app command decorators that use Interaction
This commit is contained in:
1 parent
a8177dd5bd
commit
2e737e70de
2 files changed
+13
-13
No files matched your search
@@ -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