From 194ae28503ce4299e8e89f1426c74323325fed78 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Thu, 9 Jul 2026 11:33:40 +1000 Subject: [PATCH] made reponse ephemeral --- src/commands/member_info.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/commands/member_info.rs b/src/commands/member_info.rs index 72d5750..57895c2 100644 --- a/src/commands/member_info.rs +++ b/src/commands/member_info.rs @@ -52,11 +52,13 @@ pub async fn member_info(ctx: ApplicationContext<'_>) -> Result<(), Error> { // if not present let Some(student_id) = linked_student_id else { ctx.send( - CreateReply::default().embed( - CreateEmbed::new() - .title("Re-verification required") - .description("Verify your membership in <#1433595503190474854>"), - ), + CreateReply::default() + .embed( + CreateEmbed::new() + .title("Re-verification required") + .description("Verify your membership in <#1433595503190474854>"), + ) + .ephemeral(true), ) .await?; return Ok(());