mirror of
https://github.com/dsec-hub/dsec-discord-bot.git
synced 2026-09-22 07:44:26 +00:00
made reponse ephemeral
This commit is contained in:
parent
4595ee4cf7
commit
194ae28503
1 changed files with 7 additions and 5 deletions
|
|
@ -52,11 +52,13 @@ pub async fn member_info(ctx: ApplicationContext<'_>) -> Result<(), Error> {
|
||||||
// if not present
|
// if not present
|
||||||
let Some(student_id) = linked_student_id else {
|
let Some(student_id) = linked_student_id else {
|
||||||
ctx.send(
|
ctx.send(
|
||||||
CreateReply::default().embed(
|
CreateReply::default()
|
||||||
CreateEmbed::new()
|
.embed(
|
||||||
.title("Re-verification required")
|
CreateEmbed::new()
|
||||||
.description("Verify your membership in <#1433595503190474854>"),
|
.title("Re-verification required")
|
||||||
),
|
.description("Verify your membership in <#1433595503190474854>"),
|
||||||
|
)
|
||||||
|
.ephemeral(true),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
return Ok(());
|
return Ok(());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue