Added more error statuses
This commit is contained in:
parent
3083db69ef
commit
3814a49128
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue