Indicate when you're editing a message (#75)

This commit is contained in:
Ulyssa
2023-05-01 22:14:08 -07:00
parent cc1d2f3bf8
commit 4935899aed
3 changed files with 52 additions and 27 deletions

View File

@@ -177,7 +177,7 @@ fn iamb_cancel(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult {
return Result::Err(CommandError::InvalidArgument);
}
let mact = IambAction::from(MessageAction::Cancel);
let mact = IambAction::from(MessageAction::Cancel(desc.bang));
let step = CommandStep::Continue(mact.into(), ctx.context.take());
return Ok(step);