mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-11-02 06:22:51 +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:
|
def is_dispatchable(self) -> bool:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@property
|
||||||
|
def _total_count(self) -> int:
|
||||||
|
# Count the component and ourselves
|
||||||
|
return 2
|
||||||
|
|||||||
Reference in New Issue
Block a user