diff --git a/src/commands.rs b/src/commands.rs index 2d0e750..287c7e7 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -297,6 +297,7 @@ struct Player; #[command] #[only_in(guilds)] +#[description = "Vote another subject for termination. $vote "] async fn vote(ctx: &Context, msg: &Message, args: Args) -> CommandResult { let mut data = ctx.data.write().await; let global_data = data.get_mut::().unwrap(); @@ -360,6 +361,7 @@ async fn vote(ctx: &Context, msg: &Message, args: Args) -> CommandResult { #[command] #[only_in(guilds)] +#[description = "Get the game status. $status"] async fn status(ctx: &Context, msg: &Message, _args: Args) -> CommandResult { let data = ctx.data.read().await; let global_data = data.get::().unwrap(); @@ -393,6 +395,7 @@ async fn status(ctx: &Context, msg: &Message, _args: Args) -> CommandResult { #[command] #[only_in(guilds)] +#[description = "Get the other players in the game. $status"] async fn players(ctx: &Context, msg: &Message, _args: Args) -> CommandResult { let data = ctx.data.read().await; let global_data = data.get::().unwrap();