This commit is contained in:
Cat /dev/Nulo 2022-08-27 19:38:27 -03:00
parent 52142fc57c
commit 209538d6fb

View file

@ -76,13 +76,6 @@ func handleMessage(bot *tgbotapi.BotAPI, update tgbotapi.Update) {
res := tgbotapi.NewVideo(msg.Chat.ID, *lookup) res := tgbotapi.NewVideo(msg.Chat.ID, *lookup)
res.ReplyToMessageID = msg.MessageID res.ReplyToMessageID = msg.MessageID
// if info, err := readInfoFile(&infoPath); err != nil {
// res.Caption = "Hubo un error consiguiendo el titulo de este video."
// log.Println("error reading info file", err)
// } else {
// res.Caption = info.Title
// }
bot.Send(res) bot.Send(res)
} }
if !hasDownloadables && explicit { if !hasDownloadables && explicit {