Andrii Lytvyn

Results 12 comments of Andrii Lytvyn

npm install pm2 -g pm2 start server.js pm2 startup pm2 save and now pm2 make auto restart when severer.js is killed https://pm2.keymetrics.io/docs/usage/quick-start/ > > I am using pm2 > >...

/** * Implements a simple select-replace file editor in Telegram. * It works as follows: * * 1. The user invokes the editor with a non-empty file. * 2. The...

I found simple solution, just comment console.log commands. I'm using pm2, and should been to restart instans once per day for prevent stopping bot.

I have the same, and if you can see problem with facebook-chat-api > Exactly the same error here.

> I think Facebook has changed something, like they often do. > > The repo https://github.com/Schmavery/facebook-chat-api has to be updated accordingly. Exactly

@inspiredearth @Egregius - _Copy app directory to your server_ - _Replace_ process.env.TELEGRAM_TOKEN process.env.TELEGRAM_CHAT_ID process.env.FB_EMAIL process.env.FB_PASSWORD _with your data_ _in file_ **bot.js** - _And run_ npm install npm start

I ask a question to the chatGPT

To implement the ability for a bot to handle multiple active commands, you would need to create multiple instances of command handling or utilize a concept of "threading" or "parallel...