FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Second DiscordAttachment parameter fails to parse on subcommands (ArgumentParseException) · Issue #2450 · DSharpPlus/DSharpPlus · GitHub

Second DiscordAttachment parameter fails to parse on subcommands (ArgumentParseException) #2450

Description

This has been an issue for a while, whenever I attach files to two DiscordAttachment parameters on the same subcommand, the second one fails to parse (screenshot attached).

Trigger seems to specifically be: a subcommand with 2+ DiscordAttachment params, the first one always works fine, only the second (and presumably 3rd and so on) fails.

What I've tried: removed the = null default from the second parameter (kept the ?) to rule out a default-value interaction, no change, identical error, and it made the field required instead of optional as a side effect, so reverted that.

Versions tested: originally hit on Nightly 02556, still reproduces on Nightly 02594

Here's the hastebin with the logs and relevant code definition: https://hst.sh/awicevatuh.csharp

attachments: discord output, files used on the upload field

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfixcommandsFor issues related to DSharpPlus.Commands

Type

Fields

Effort

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL