Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion interactions/models/internal/application_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,9 @@ class ComponentCommand(InteractionCommand):

@attrs.define(eq=False, order=False, hash=False, kw_only=True)
class ModalCommand(ComponentCommand):
...
async def call_callback(self, callback: Callable, context: "BaseContext") -> None:
# default call_callback passes kwargs, we dont want to do that here
await self.call_with_binding(callback, context) # type: ignore


def _unpack_helper(iterable: typing.Iterable[str]) -> list[str]:
Expand Down