File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ def create_select_option(
174
174
"""
175
175
emoji = emoji_to_dict (emoji )
176
176
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 ." )
179
179
if not isinstance (value , str ):
180
180
value = str (value )
181
181
logger .warning (
@@ -184,8 +184,8 @@ def create_select_option(
184
184
)
185
185
if not len (value ) or len (value ) > 100 :
186
186
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." )
189
189
190
190
return {
191
191
"label" : label ,
You can’t perform that action at this time.
0 commit comments