Go to file
Secven d41932c930 update and fix 2021-07-05 07:21:30 +00:00
src update and fix 2021-07-05 07:21:30 +00:00
.dockerignore update and fix 2021-07-05 07:21:30 +00:00
.env.example update and fix 2021-07-05 07:21:30 +00:00
.eslintrc first commit 2021-07-02 06:42:33 +00:00
.gitignore update 2021-07-03 00:46:48 +00:00
.prettierrc first commit 2021-07-02 06:42:33 +00:00
Dockerfile update and fix 2021-07-05 07:21:30 +00:00
LICENSE first commit 2021-07-02 06:42:33 +00:00
README.md update and fix 2021-07-05 07:21:30 +00:00
ecosystem.config.js update and fix 2021-07-05 07:21:30 +00:00
index.js first commit 2021-07-02 06:42:33 +00:00
package.json update and fix 2021-07-05 07:21:30 +00:00

README.md

Telegraf Bot Pattern

example

Change .env.example to .env

Started init: yarn install

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 )