You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands in the SlashCommandGroup treat optional arguments as required
Reproduction Steps
Create SlashCommandGroup and add command with optional parameter to it eg: member: discord.Member = None or member: discord.Option(discord.Member) = None
Go to any server where you can use this command
Start writing a command and look at the parameters
Summary
Commands in the SlashCommandGroup treat optional arguments as required
Reproduction Steps
member: discord.Member = None
ormember: discord.Option(discord.Member) = None
Minimal Reproducible Code
Expected Results
Parameter should be marked as optional:
Actual Results
Parameter is marked as required:
Intents
discord.Intents.all()
System Information
Checklist
Additional Context
Previously no problem, after update to the latest version there are problems with it
The text was updated successfully, but these errors were encountered: