Switch to ephemeral defer for collect/spread to make responses properly ephemeral
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user