Skip to content

Commit

Permalink
add docs for the left out lacking_ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed May 30, 2019
1 parent 26b072f commit 15e7fde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions command_attr/src/lib.rs
Expand Up @@ -378,6 +378,11 @@ pub fn command(attr: TokenStream, input: TokenStream) -> TokenStream {
///
/// Accepts `strike` (strikethroughs), `hide` (will not be listed) or `nothing` (leave be).
///
/// - `#[lacking_ownership(s)]`/`#[lacking_ownership = s]`
/// If a user lacks ownership, this will treat how these commands will be displayed.
///
/// Accepts `strike` (strikethroughs), `hide` (will not be listed) or `nothing` (leave be).
///
/// - `#[lacking_permissions(s)]`/`#[lacking_role = s]`
/// If a user lacks permissions, this will treat how commands will be displayed.
///
Expand Down

0 comments on commit 15e7fde

Please sign in to comment.