fixed delete timer
This commit is contained in:
parent
833a23ba77
commit
09d7496c93
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue