Browse Source

Fix inaccurate total_children_count property in modals

pull/10341/head
Sacul 8 months ago
committed by GitHub
parent
commit
8f2cb60700
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      discord/ui/label.py

5
discord/ui/label.py

@ -139,3 +139,8 @@ class Label(Item[V]):
def is_dispatchable(self) -> bool:
return False
@property
def _total_count(self) -> int:
# Count the component and ourselves
return 2

Loading…
Cancel
Save