fmt: feedback from clippy
This commit is contained in:
parent
b43f760fb1
commit
058f8a7a7d
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ pub mod committee {
|
||||||
pub fn register() -> CreateCommand {
|
pub fn register() -> CreateCommand {
|
||||||
CreateCommand::new("count")
|
CreateCommand::new("count")
|
||||||
.description("Count Committee Members")
|
.description("Count Committee Members")
|
||||||
// All committee members have teh Manage Role permission
|
// All Committee members are able to add reactions to posts
|
||||||
.default_member_permissions(serenity::model::Permissions::MANAGE_ROLES)
|
.default_member_permissions(serenity::model::Permissions::ADD_REACTIONS)
|
||||||
.add_option(
|
.add_option(
|
||||||
CreateCommandOption::new(CommandOptionType::SubCommand, "committee", "List out the Committee Roles Numbers")
|
CreateCommandOption::new(CommandOptionType::SubCommand, "committee", "List out the Committee Roles Numbers")
|
||||||
.add_sub_option(CreateCommandOption::new(CommandOptionType::Boolean, "all", "List out all the Committee Roles Numbers").required(false)),
|
.add_sub_option(CreateCommandOption::new(CommandOptionType::Boolean, "all", "List out all the Committee Roles Numbers").required(false)),
|
||||||
|
|
Loading…
Add table
Reference in a new issue