From 3382d2e9e86f4daacd9097f284da51b49a54f7b9 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 25 Aug 2021 09:21:49 -0400 Subject: [PATCH] Update documentation on select limits --- discord/components.py | 4 ++-- discord/ui/select.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/components.py b/discord/components.py index b9b7fb205..74c7be3d0 100644 --- a/discord/components.py +++ b/discord/components.py @@ -277,14 +277,14 @@ class SelectOption: ----------- label: :class:`str` The label of the option. This is displayed to users. - Can only be up to 25 characters. + Can only be up to 100 characters. value: :class:`str` The value of the option. This is not displayed to users. If not provided when constructed then it defaults to the label. Can only be up to 100 characters. description: Optional[:class:`str`] An additional description of the option, if any. - Can only be up to 50 characters. + Can only be up to 100 characters. emoji: Optional[Union[:class:`str`, :class:`Emoji`, :class:`PartialEmoji`]] The emoji of the option, if available. default: :class:`bool` diff --git a/discord/ui/select.py b/discord/ui/select.py index 1a0d7388d..8479ca157 100644 --- a/discord/ui/select.py +++ b/discord/ui/select.py @@ -197,13 +197,13 @@ class Select(Item[V]): ----------- label: :class:`str` The label of the option. This is displayed to users. - Can only be up to 25 characters. + Can only be up to 100 characters. value: :class:`str` The value of the option. This is not displayed to users. If not given, defaults to the label. Can only be up to 100 characters. description: Optional[:class:`str`] An additional description of the option, if any. - Can only be up to 50 characters. + Can only be up to 100 characters. emoji: Optional[Union[:class:`str`, :class:`.Emoji`, :class:`.PartialEmoji`]] The emoji of the option, if available. This can either be a string representing the custom or unicode emoji or an instance of :class:`.PartialEmoji` or :class:`.Emoji`.