Added logs
This commit is contained in:
1 parent
d99503a90e
commit
ef3b20ee53
1 file changed
+1
@@ -23,6 +23,7 @@ export class TelegramBot {
|
||||
this.bot.on('text', async (ctx) => {
|
||||
const chatId = ctx.chat.id;
|
||||
const userMessage = ctx.message.text;
|
||||
console.log(`Received message from chat ${chatId}: ${userMessage}`);
|
||||
|
||||
try {
|
||||
const userPipeline: Pipeline = {
|
||||
|
||||
Reference in new issue
Block a user