Added logs

This commit is contained in:
uxname committed 2025-05-24 17:49:38 +03:00
1 parent ef3b20ee53
commit a180d86933
1 file changed
+1
+1
View File
@@ -66,6 +66,7 @@ export class TelegramBot {
const trimmedResult = lastResult const trimmedResult = lastResult
.replace(/^```html/g, '') .replace(/^```html/g, '')
.replace(/```$/g, ''); .replace(/```$/g, '');
console.log(`Sending response to chat ${chatId}:`, trimmedResult);
await ctx.replyWithHTML(trimmedResult); await ctx.replyWithHTML(trimmedResult);
} else { } else {
await ctx.reply( await ctx.reply(