Defer on spread, in case of issues with larger groups
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user