diff --git a/kicker/handlers.go b/kicker/handlers.go index 8bcabff..8965e3d 100644 --- a/kicker/handlers.go +++ b/kicker/handlers.go @@ -152,7 +152,7 @@ func checkCaptcha(b *bot, update *echotron.Update) error { if err != nil { log.Printf("Can't send welcome message: %s", err) } - go waitAndDelete(&b.API, res.Result, timeout*time.Second) + go waitAndDelete(&b.API, res.Result, timeout) // time.Sleep(time.Second * 10) // _, err = b.DeleteMessage(message.Chat.ID, res.Result.ID) if err != nil {