Attachment converter does not capture attachments for VAR_POSITIONAL parameters #9802
Open
3 tasks done
Labels
unconfirmed bug
A bug report that needs triaging
Summary
Attachment converter does not capture attachments for VAR_POSITIONAL parameters
Reproduction Steps
Create a command with a VAR_POSITIONAL (aka
*args
) parameter with thediscord.Attachment
typehint, then run it.Minimal Reproducible Code
Expected Results
To receive a tuple of attached files in the parameter, OR for an error of some form to be raised to indicate that Attachment is an invalid converter type for VAR_POSITIONAL parameters
Actual Results
Parameter is accepted as valid by the command framework but is always an empty tuple
Intents
discord.Intents.all()
System Information
Checklist
Additional Context
Other parameter types, as well as
commands.Greedy
, still work as expected.The text was updated successfully, but these errors were encountered: