made reponse ephemeral

This commit is contained in:
liyunze 2026-07-09 11:33:40 +10:00
parent 4595ee4cf7
commit 194ae28503

View file

@ -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(
CreateReply::default()
.embed(
CreateEmbed::new()
.title("Re-verification required")
.description("Verify your membership in <#1433595503190474854>"),
),
)
.ephemeral(true),
)
.await?;
return Ok(());