diff --git a/src/commands/youtube.js b/src/commands/youtube.js index cb5a3dc..76b0d29 100644 --- a/src/commands/youtube.js +++ b/src/commands/youtube.js @@ -145,11 +145,12 @@ module.exports = (bot) => { }, ); } else { + const errMsg = Strings.ytDownload.uploadErr.replace("{error}", error) await ctx.telegram.editMessageText( ctx.chat.id, downloadingMessage.message_id, null, - Strings.ytDownload.uploadErr, { + errMsg, { parse_mode: 'Markdown', reply_to_message_id: ctx.message.message_id, },