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 f21a4b8 commit 97962f0Copy full SHA for 97962f0
discord/ui/view.py
@@ -385,7 +385,7 @@ def get_item(self, custom_id: str | int) -> Item | None:
385
if not child:
386
for i in self.children:
387
if hasattr(i, "get_item"):
388
- if (child := i.get_item(custom_id)):
+ if child := i.get_item(custom_id):
389
return child
390
391
return get(self.children, custom_id=custom_id)
0 commit comments