diff --git a/src/main.rs b/src/main.rs index 2b4a584..4cf2449 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,6 +99,8 @@ async fn spread( .guild_id() .ok_or_eyre("This bot only works in servers")?; + ctx.defer().await?; + let from = from .to_channel(ctx) .await? @@ -132,6 +134,8 @@ async fn collect( .guild_id() .ok_or_eyre("This bot only works in servers")?; + ctx.defer().await?; + let users = channel_children(&ctx, from) .await? .into_iter()