diff --git a/src/cmds/edit_members.rs b/src/cmds/edit_members.rs index c42a368..d10c2c7 100644 --- a/src/cmds/edit_members.rs +++ b/src/cmds/edit_members.rs @@ -94,6 +94,7 @@ pub(crate) async fn edit_member_fresher( pub(crate) async fn refresh_non_members(ctx: ACtx<'_>) -> Result<(), Error> { use serenity::futures::StreamExt; tracing::info!("{}", ctx.author().name); + ctx.defer().await?; let mut members = ctx.data().server.members_iter(ctx.http()).boxed(); let mut cnt = 0; while let Some(Ok(mut m)) = members.next().await {