mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-11-01 14:02:57 +00:00
Fix inaccurate total_children_count property in modals
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user