Browse Source
Update docstring for Checkbox and CheckboxGroup
pull/10416/head
Sacul
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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 |
|
|
|
|
|
|
|
|