diff --git a/src/commands/maint.rs b/src/commands/maint.rs index 809a7da..5936ca4 100644 --- a/src/commands/maint.rs +++ b/src/commands/maint.rs @@ -16,6 +16,8 @@ pub(crate) async fn advance_pointer( ctx: Context<'_>, #[description = "do not approve this event number and after"] stop_before: Option, ) -> Result<(), BotError> { + ctx.defer().await?; + let LeagueInfo { first_unreviewed_event_number, .. } = ctx.data().mongo .collection::("league_info") .find_one(doc! {})