bot-eye-leak/README.md

418 B

Telegraf Bot Pattern

example

Change .env.example to .env

Started init: yarn install and npm install pm2 -g

Mode Default: yarn dev - For Development

Mode Cluster: yarn prod - In Production bot

Mode Production PM2: yarn pm:prod yarn pm:stop yarn pm:up // pm2 startup

Example .env ( BOT_CLUSTER_CORE = 2 ) or AutoScale ( BOT_CLUSTER_CORE = 0 )