fixed delete timer
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user