mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 13:49:52 -07:00
Indicate when you're editing a message (#75)
This commit is contained in:
parent
cc1d2f3bf8
commit
4935899aed
3 changed files with 52 additions and 27 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue