We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db18056 commit f5db60eCopy full SHA for f5db60e
discord/ui/view.py
@@ -701,6 +701,7 @@ def from_dict(
701
components = [_component_factory(d) for d in data]
702
for component in _walk_all_components(components):
703
view.add_item(_component_to_item(component))
704
+ return view
705
706
def add_item(self, item: ViewItem[V]) -> Self:
707
"""Adds an item to the view. Attempting to add a :class:`~discord.ui.ActionRow` will add its children instead.
0 commit comments