Added logs
This commit is contained in:
1 parent
ef3b20ee53
commit
a180d86933
1 file changed
+1
@@ -66,6 +66,7 @@ export class TelegramBot {
|
||||
const trimmedResult = lastResult
|
||||
.replace(/^```html/g, '')
|
||||
.replace(/```$/g, '');
|
||||
console.log(`Sending response to chat ${chatId}:`, trimmedResult);
|
||||
await ctx.replyWithHTML(trimmedResult);
|
||||
} else {
|
||||
await ctx.reply(
|
||||
|
||||
Reference in new issue
Block a user