fixed delete timer

This commit is contained in:
Nefrace 2023-09-10 13:31:41 +03:00
parent 833a23ba77
commit 09d7496c93
1 changed files with 1 additions and 1 deletions

View File

@ -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 {