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
|
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(
|
||||||
|
|||||||
Reference in new issue
Block a user