Skip to content

Arguments out of range when the module and command name are equal #14

Description

@velddev

CommandPipeline takes too many arguments when the command name is the same as the module

To reproduce:

[Module("test")]
public class TestMod {
	[Command("test")]
	public async Task TestAsync(IContext context) {
		e.GetArgumentPack().Take(out string str);
	}
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions