diff --git a/cipher_discord_bot/src/commands/profile/mod.rs b/cipher_discord_bot/src/commands/profile/mod.rs index cf2ecd1..976a4fd 100644 --- a/cipher_discord_bot/src/commands/profile/mod.rs +++ b/cipher_discord_bot/src/commands/profile/mod.rs @@ -31,6 +31,8 @@ async fn show( #[rename = "member"] #[description = "The profile to show."] option_member: Option, + #[description = "Hide reply from other users. Defaults to True."] + ephemeral: Option, ) -> Result<(), AppError> { let mut repo = ctx.data.repository().await?; @@ -95,7 +97,7 @@ async fn show( let reply = CreateReply::default() .embed(embed) - .ephemeral(true); + .ephemeral(ephemeral.unwrap_or(true)); ctx.send(reply).await?;