Skip to content

Conversation

@GerardSmit
Copy link
Contributor

This PR implements command arguments.

TODO

Example

Command("greet")]
public Task GreetAsync(IContext e, string name)
{
    return e.GetChannel().SendMessageAsync($"Hello {name}!");
}

[Command("greet")]
public Task GreetAsync(IContext e)
{
    return e.GetChannel().SendMessageAsync("Hello nobody...");
}

image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants