Go to file
Secven 1ccede5403 update default 2021-07-12 00:05:59 +00:00
src update default 2021-07-12 00:05:59 +00:00
tests update and test 2021-07-06 11:18:38 +00:00
.dockerignore update and test 2021-07-06 11:18:38 +00:00
.env.example update default 2021-07-12 00:05:59 +00:00
.eslintrc first commit 2021-07-02 06:42:33 +00:00
.gitignore update and fix 2021-07-08 02:05:15 +00:00
.prettierrc first commit 2021-07-02 06:42:33 +00:00
Dockerfile update default 2021-07-12 00:05:59 +00:00
LICENSE first commit 2021-07-02 06:42:33 +00:00
README.md update and test 2021-07-06 11:18:38 +00:00
ecosystem.config.js update default 2021-07-12 00:05:59 +00:00
index.js update and test 2021-07-06 11:18:38 +00:00
package.json update and fix 2021-07-05 07:21:30 +00:00

README.md

Telegraf Bot Pattern

TEST BOT => @patternRobot

example

Change .env.example to .env

Setup bot: npm i pm2 -g npm i yarn -g

Installing packages: yarn install

Mode Default: yarn dev - Development

Mode Cluster: yarn prod - 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 )