From f4373c62ca69b3e9781db9e288eb365b970cdcc1 Mon Sep 17 00:00:00 2001 From: Kappeh Date: Sat, 8 Feb 2025 08:06:33 +0000 Subject: [PATCH] Add missing descriptions and help messages --- cipher_discord_bot/src/commands/profile.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cipher_discord_bot/src/commands/profile.rs b/cipher_discord_bot/src/commands/profile.rs index 9acdd89..fbbc31d 100644 --- a/cipher_discord_bot/src/commands/profile.rs +++ b/cipher_discord_bot/src/commands/profile.rs @@ -77,6 +77,7 @@ async fn show( show_inner(ctx, member, ephemeral.unwrap_or(true)).await } +/// Edit your profile. #[poise::command( slash_command, guild_only, @@ -105,7 +106,7 @@ async fn edit(ctx: AppContext<'_, R, R::Bac Ok(()) } - +/// Edit any user's profile. Staff only. #[poise::command( slash_command, guild_only, @@ -114,7 +115,7 @@ async fn edit(ctx: AppContext<'_, R, R::Bac )] async fn overwrite( ctx: AppContext<'_, R, R::BackendError>, - member: Member, + #[description = "The profile you wish to edit."] member: Member, ) -> Result<(), AppError> { edit_inner(ctx, member).await?;