From 4953f6028a9bc6e128c2db2c6bddc6100b493d5f Mon Sep 17 00:00:00 2001
From: Heero <42873000+HeeroML@users.noreply.github.com>
Date: Wed, 12 Jan 2022 10:01:40 +0100
Subject: [PATCH] Fixed code style
---
bot.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.ts b/bot.ts
index 15f5774..8ab4a7d 100644
--- a/bot.ts
+++ b/bot.ts
@@ -20,7 +20,7 @@ function prettifyUpdate(
author?: number,
forward?: number,
): string {
- const updateText = JSON.stringify(escapeHtml(update), null, 2);
+ const updateText = `${escapeHtml(JSON.stringify(update, null, 2))}
`
const authorText = author
? `Telegram ID's:\nForwarded User ID: ${author}
\n\n`
: "";