Skip to content

Commit

Permalink
Merge pull request #98 from LucaBernstein/cancel-automatic-tx
Browse files Browse the repository at this point in the history
Add cancel hint to automatic tx
  • Loading branch information
LucaBernstein authored Jan 14, 2022
2 parents 48d42cc + 70cb493 commit 498b6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ func (bc *BotController) handleTextState(m *tb.Message) {
}
return
}
_, err := bc.Bot.Send(m.Sender, "Automatically created a new transaction for you.", clearKeyboard())
_, err := bc.Bot.Send(m.Sender, "Automatically created a new transaction for you. If you think this was a mistake you can /cancel it.", clearKeyboard())
if err != nil {
bc.Logf(ERROR, m, "Sending bot message failed: %s", err.Error())
}
Expand Down

0 comments on commit 498b6d5

Please sign in to comment.