Skip to content

Commit 43df60f

Browse files
authored
fix to_component_dict
1 parent 0acb103 commit 43df60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ui/action_row.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def walk_items(self) -> Iterator[Item]:
392392
yield from self.children
393393

394394
def to_component_dict(self) -> ActionRowPayload:
395-
self._set_components()
395+
self._set_components(self.items)
396396
return self._underlying.to_dict()
397397

398398
@classmethod

0 commit comments

Comments
 (0)