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
More docs #105
More docs #105
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, just a couple changes with the deprecated function
src/model/guild/role.rs
Outdated
/// | ||
/// [`Role`]: struct.Role.html | ||
/// [Manage Roles]: permissions/constant.MANAGE_ROLES.html | ||
#[deprecated(since="0.2.1", note="Please use `edit` instead.")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is deprecated, can we replace the function body with just self.edit(f)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also since this is deprecated, we can just replace these docs and link to the new function saying /// Alias of [`edit`].
Thanks |
Some more docs and some miscellaneous fixes.
Added docs:
Miscellaneous fix:
Context::send_message
in severalbuilder
docs.Role::edit_role
in favor ofRole::edit