-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging
Description
Summary
ui.ChannelSelect defaults to required=False despite it defaulting to required=True in the API.
Reproduction Steps
Look at the ui.ChannelSelect required argument and then look at the API docs.
This is an example.
Minimal Reproducible Code
Expected Results
required=True instead of required=False default arguments
Actual Results
required=False despite required=True API defaults
Intents
any
System Information
any
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
The API docs state that the required argument is ignored if not used in a modal, so changing such arguments doesn't make any problem for in-message selects.
ui.Select is the only component that respects the discord default values.
All the affected components are:
- ui.ChannelSelect (default API values).
- ui.RoleSelect (default API values).
- ui.MentionableSelect (default API values).
- ui.UserSelect (default API values).
Is this a deliberate design choice? I thought discord.py sticked with the API defaults.
Metadata
Metadata
Assignees
Labels
unconfirmed bugA bug report that needs triagingA bug report that needs triaging