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 c3f0010 commit a7b56b5Copy full SHA for a7b56b5
discord/ui/view.py
@@ -262,9 +262,9 @@ def remove_item(self, item: ViewItem[V] | int | str) -> Self:
262
263
def clear_items(self) -> Self:
264
"""Removes all items from this view."""
265
- self.children.clear()
266
for child in self.children:
267
child.parent = None
+ self.children.clear()
268
return self
269
270
async def interaction_check(self, interaction: Interaction) -> bool:
0 commit comments