This commit is contained in:
Andrey Kondratev
2025-08-29 17:36:03 +05:00
parent 7cf833af6f
commit 89a7f4ab11

View File

@@ -196,7 +196,7 @@ export class QuixoticBot {
console.log('🎵 Audio action from callback query');
await this.sendAudioFileInternal(query.message.chat.id, data.audioUrl, data.title);
}
} catch (e) {
} catch {
console.log('Callback query data is not JSON, ignoring');
}
}
@@ -347,7 +347,7 @@ export class QuixoticBot {
// Delete status message after success
try {
await this.bot.deleteMessage(chatId, statusMsg.message_id);
} catch (delError) {
} catch {
console.log('Could not delete status message (not critical)');
}
@@ -376,7 +376,7 @@ export class QuixoticBot {
// Delete status message after success
try {
await this.bot.deleteMessage(chatId, statusMsg.message_id);
} catch (delError) {
} catch {
console.log('Could not delete status message (not critical)');
}
@@ -396,7 +396,7 @@ export class QuixoticBot {
// Send fallback message with direct link
try {
await this.bot.sendMessage(chatId,
`Не удалось отправить файл автоматически.\n\n` +
'Не удалось отправить файл автоматически.\n\n' +
`🎵 *${title}*\n\n` +
`📥 Скачайте напрямую: [Ссылка на MP3](${audioUrl})\n\n` +
`_Ошибка: ${error.message}_`,