Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

[Bug]: Command has ignoreExtraArgs: true and no parameters, but getting "A quoted parameter is incomplete."

Open ltguide opened this issue 3 years ago • 2 comments

Check The Docs

  • [X] I double checked the docs and couldn't find any useful information.

Verify Issue Source

  • [X] I verified the issue was caused by Discord.Net.

Check your intents

  • [X] I double checked that I have the required intents.

Description

I have a command that has "ignoreExtraArgs: true" and no parameters.

Attempting to run the command starting with any of the aliasMap characters, I get the error: "A quoted parameter is incomplete."

These all fail:

  • !test (
  • !test (something)
  • !test "

These all work:

  • !test x (
  • !test x (something)
  • !test x "

Version

3.7.2

Working Version

No response

Logs

n/a

Sample

    [Command("test", ignoreExtraArgs: true)]
    public async Task Test()
    {
        await ReplyAsync("test");
    }

Packages

Discord.Addons.Hosting, 5.1.0

ltguide avatar Jul 30 '22 23:07 ltguide

@Cenngo could you look into this?

csmir avatar Aug 03 '22 09:08 csmir