From 28aa397f2c7a90b79c2747630252a29c9ea36013 Mon Sep 17 00:00:00 2001 From: Sacul <183588943+Sacul0457@users.noreply.github.com> Date: Sat, 28 Feb 2026 14:10:00 +0800 Subject: [PATCH] Update docstring for RadioGroup class Clarified the docstring to specify usage within Label. --- discord/ui/radio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ui/radio.py b/discord/ui/radio.py index 4c02c6638..42a4c6c36 100644 --- a/discord/ui/radio.py +++ b/discord/ui/radio.py @@ -54,7 +54,7 @@ V = TypeVar('V', bound='BaseView', covariant=True) 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