Compare commits

...
2 Commits
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
/target /target
/.direnv/ /.direnv/
/db.sqlite /*.sqlite
/token /token
/token-*
+2 -2
View File
@@ -99,7 +99,7 @@ async fn spread(
.guild_id() .guild_id()
.ok_or_eyre("This bot only works in servers")?; .ok_or_eyre("This bot only works in servers")?;
ctx.defer().await?; ctx.defer_ephemeral().await?;
let from = from let from = from
.to_channel(ctx) .to_channel(ctx)
@@ -134,7 +134,7 @@ async fn collect(
.guild_id() .guild_id()
.ok_or_eyre("This bot only works in servers")?; .ok_or_eyre("This bot only works in servers")?;
ctx.defer().await?; ctx.defer_ephemeral().await?;
let users = channel_children(&ctx, from) let users = channel_children(&ctx, from)
.await? .await?