diff --git a/discord/ui/item.py b/discord/ui/item.py index 03ea669a7..8703fbf90 100644 --- a/discord/ui/item.py +++ b/discord/ui/item.py @@ -41,7 +41,7 @@ if TYPE_CHECKING: I = TypeVar('I', bound='Item') V = TypeVar('V', bound='View', covariant=True) -ItemCallbackType = Callable[[V, Interaction, I], Coroutine[Any, Any, Any]] +ItemCallbackType = Callable[[V, Interaction[Any], I], Coroutine[Any, Any, Any]] class Item(Generic[V]):