From 2cf0331bb11549960a7586ffa8ce16b62949a698 Mon Sep 17 00:00:00 2001 From: graynk Date: Sun, 26 Sep 2021 13:33:48 +0500 Subject: [PATCH] done message repeater was wrong as well -_- --- app/handler_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/handler_helpers.go b/app/handler_helpers.go index 0beaf53..5b0ed25 100644 --- a/app/handler_helpers.go +++ b/app/handler_helpers.go @@ -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) } }