Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeroML authored Jan 12, 2022
1 parent f38f024 commit 4953f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function prettifyUpdate(
author?: number,
forward?: number,
): string {
const updateText = JSON.stringify(escapeHtml(update), null, 2);
const updateText = `<code>${escapeHtml(JSON.stringify(update, null, 2))}</code>`
const authorText = author
? `<b>Telegram ID's:</b>\nForwarded User ID: <code>${author}</code>\n\n`
: "";
Expand Down

0 comments on commit 4953f60

Please sign in to comment.