diff --git a/src/commands/count.rs b/src/commands/count.rs index bb64f68..c48a506 100644 --- a/src/commands/count.rs +++ b/src/commands/count.rs @@ -71,8 +71,9 @@ pub mod committee { pub fn register() -> CreateCommand { CreateCommand::new("count") - .description("Commands related to teh committees") - //.default_member_permissions(serenity::model::Permissions::MANAGE_GUILD) + .description("Count Committee Members") + // All committee members have teh Manage Role permission + .default_member_permissions(serenity::model::Permissions::MANAGE_ROLES) .add_option( 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)), @@ -149,7 +150,7 @@ pub mod servers { pub fn register() -> CreateCommand { CreateCommand::new("count") - .description("Commands related to all servers") + .description("Count the servers") .default_member_permissions(serenity::model::Permissions::MANAGE_GUILD) .add_option(CreateCommandOption::new(CommandOptionType::SubCommand, "servers", "List out all servers using the skynet bot")) }