From c2f933bcae1442dec592d351c04266293325f4e7 Mon Sep 17 00:00:00 2001 From: Sacul <183588943+Sacul0457@users.noreply.github.com> Date: Sat, 28 Feb 2026 14:10:34 +0800 Subject: [PATCH] Update docstring for Checkbox and CheckboxGroup --- discord/ui/checkbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/ui/checkbox.py b/discord/ui/checkbox.py index e64895ed2..61acf44f7 100644 --- a/discord/ui/checkbox.py +++ b/discord/ui/checkbox.py @@ -59,7 +59,7 @@ V = TypeVar('V', bound='BaseView', covariant=True) class CheckboxGroup(Item[V]): - """Represents a checkbox group component within a modal. + """Represents a checkbox group component within a modal that can only be used in :class:`Label`. .. versionadded:: 2.7 @@ -281,7 +281,7 @@ class CheckboxGroup(Item[V]): class Checkbox(Item[V]): - """Represents a checkbox component within a modal. + """Represents a checkbox component within a modal that can only be used in :class:`Label`. .. versionadded:: 2.7