Skip to content

Commit 16b0464

Browse files
authored
fix: error when dispatch component callback (#1351)
1 parent a14652e commit 16b0464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ async def _dispatch_interaction(self, event: RawGatewayEvent) -> None:
17631763
if component_callback:
17641764
await self.__dispatch_interaction(
17651765
ctx=ctx,
1766-
callback=callback(ctx),
1766+
callback=component_callback(ctx),
17671767
error_callback=events.ComponentError,
17681768
completion_callback=events.ComponentCompletion,
17691769
)

0 commit comments

Comments
 (0)