Skip to content

Commit 8c96732

Browse files
committed
fix: set command_name for comp commands
1 parent 9b52fdb commit 8c96732

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interactions/models/internal/context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ def from_dict(cls, client: "interactions.Client", payload: dict) -> Self:
635635
instance.values = payload["data"].get("values", [])
636636
instance.custom_id = payload["data"]["custom_id"]
637637
instance._command_id = instance.custom_id
638+
instance._command_name = instance.custom_id
638639
instance.component_type = payload["data"]["component_type"]
639640

640641
searches = {

0 commit comments

Comments
 (0)