Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify command samples #1257

Merged
merged 4 commits into from
Mar 16, 2019
Merged

Conversation

Still34
Copy link
Member

@Still34 Still34 commented Feb 5, 2019

Summary

This PR adds several additional notes answering questions a newcomer may have for the command framework.

Copy link
Collaborator

@Chris-Johnston Chris-Johnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one thing I would change.

Co-Authored-By: Still34 <341464@gmail.com>
@@ -60,6 +60,7 @@ public Task EchoAsync([Remainder] string text)
public Task ListAsync(params string[] objects)
=> ReplyAsync("You listed: " + string.Join("; ", objects));

// Setting a custom ErrorMessage property will help clarify the precondition error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment could be moved one line down so that it's more obvious what it's referring to.

@foxbot foxbot merged commit 2473619 into discord-net:dev Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants