Compare commits

..

No commits in common. "e02e87937823a2025ea0bcb80d7f2cd67f14bd51" and "49147208d1a3905844fc79e31fa165b974e68653" have entirely different histories.

1 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,9 @@ func checkCaptcha(b *bot, update *tb.Update) error {
b.DeleteMessage(message.Chat.ID, user.CaptchaMessage) b.DeleteMessage(message.Chat.ID, user.CaptchaMessage)
} }
} else {
log.Println(err)
return err
} }
if !solved { if !solved {
b.DeleteMessage(message.Chat.ID, message.ID) b.DeleteMessage(message.Chat.ID, message.ID)