Skip to content

Commit

Permalink
fix: Properly format download error
Browse files Browse the repository at this point in the history
  • Loading branch information
otomir23 committed Jul 9, 2024
1 parent d7c08a6 commit ad9d68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram/bot/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ downloadDp.onNewMessage(filters.chat("private"), async (msg) => {

const req = await createRequest(msg.text, msg.sender.id)
if (!req.success) {
await msg.replyText(e(req.error))
await msg.replyText(t("error", { message: e(req.error) }))
return
}

Expand Down

0 comments on commit ad9d68a

Please sign in to comment.