Skip to content

Commit

Permalink
done message repeater was wrong as well -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
graynk committed Sep 26, 2021
1 parent 67af71c commit 2cf0331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/handler_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func doneMessageWithRepeater(b *tb.Bot, m *tb.Message) {
if err != nil {
return
}
time.Sleep(time.Duration(timeout))
time.Sleep(time.Duration(timeout) * time.Second)
_, err = b.Edit(m, done)
}
}
Expand Down

0 comments on commit 2cf0331

Please sign in to comment.