Deploy bot as service


Question i want to deploy bot permanently using forever npm install forever but how do i start bot

forever npm start?


Yes, why not? )
This may work.


Yes thanks alex i made a small mistake you can easily achieve this using forever start node index.js


@Soufyanbreda Can you share how you did that?


very easy install forever using npm

in bot project cmd
forever start node index.js


Nice! Im trying to use pm2. Forever seems like it has been abandoned by its developers.