From 06f116976db8e4a1c8f7b012192b3fc3da52faf0 Mon Sep 17 00:00:00 2001 From: bluepython508 <16466646+bluepython508@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:58:59 +0000 Subject: [PATCH] Switch to ephemeral defer for collect/spread to make responses properly ephemeral --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4cf2449..00775ba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,7 +99,7 @@ async fn spread( .guild_id() .ok_or_eyre("This bot only works in servers")?; - ctx.defer().await?; + ctx.defer_ephemeral().await?; let from = from .to_channel(ctx) @@ -134,7 +134,7 @@ async fn collect( .guild_id() .ok_or_eyre("This bot only works in servers")?; - ctx.defer().await?; + ctx.defer_ephemeral().await?; let users = channel_children(&ctx, from) .await?