File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11"""Discord Slash Constants"""
22
3- __version__ = "2.4.0 "
3+ __version__ = "2.4.1 "
44
55BASE_API = "https://discord.com/api/v8"
Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ def create_select_option(
174174 """
175175 emoji = emoji_to_dict (emoji )
176176
177- if not len (label ) or len (label ) > 25 :
178- raise IncorrectFormat ("Label length should be between 1 and 25 ." )
177+ if not len (label ) or len (label ) > 100 :
178+ raise IncorrectFormat ("Label length should be between 1 and 100 ." )
179179 if not isinstance (value , str ):
180180 value = str (value )
181181 logger .warning (
@@ -184,8 +184,8 @@ def create_select_option(
184184 )
185185 if not len (value ) or len (value ) > 100 :
186186 raise IncorrectFormat ("Value length should be between 1 and 100." )
187- if description is not None and len (description ) > 50 :
188- raise IncorrectFormat ("Description length must be 50 or lower." )
187+ if description is not None and len (description ) > 100 :
188+ raise IncorrectFormat ("Description length must be 100 or lower." )
189189
190190 return {
191191 "label" : label ,
You can’t perform that action at this time.
0 commit comments