Sacul
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
3 deletions
-
discord/ui/checkbox.py
-
discord/ui/radio.py
|
|
@ -59,7 +59,7 @@ V = TypeVar('V', bound='BaseView', covariant=True) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CheckboxGroup(Item[V]): |
|
|
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 |
|
|
.. versionadded:: 2.7 |
|
|
|
|
|
|
|
|
@ -281,7 +281,7 @@ class CheckboxGroup(Item[V]): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Checkbox(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 |
|
|
.. versionadded:: 2.7 |
|
|
|
|
|
|
|
|
|
|
|
@ -54,7 +54,7 @@ V = TypeVar('V', bound='BaseView', covariant=True) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RadioGroup(Item[V]): |
|
|
class RadioGroup(Item[V]): |
|
|
"""Represents a radio group component within a modal. |
|
|
"""Represents a radio group component within a modal that can only be used in :class:`Label`. |
|
|
|
|
|
|
|
|
.. versionadded:: 2.7 |
|
|
.. versionadded:: 2.7 |
|
|
|
|
|
|
|
|
|