Node.js
v22 or greaterNpm
v10 or greater
You can install these by this link
-
Install
pm2
npm package globallynpm i pm2 -g
-
Install project dependencies
npm ci
-
Run build
npm run build
-
Start app
npm run pm2:start
-
To run farming mini apps on main session type
.miniapps togglemainsession
. To add additional sessions type.miniapps addsession
-
User commands (e.g., .help, .update, etc.) do not work in
Saved Messages
-
Currently, there are no settings avaliable, so when you start the app, the bot will automatically play all supported minigames
-
Use the bot at your own risk!
-
To start development, run the server that will watch for changes and build app by running
npm run build:watch
. After making changes, run the application usingnpm run start
-
Before running srarting the app, make sure you have the
.env
file. You can create it by runningcp .env.example .env.
command -
If the environment variable
NODE_ENV
is set tolocal
, user-commands will be available with thedev
prefix (e.g., .devhelp, .devping, etc.)
-
Go to my.telegram.org and log in using your phone number.
-
Select "API development tools" and fill out the form to register a new application.
-
Note down the
API_ID
andAPI_HASH
in.env
file provided after registering your application.
Log info to special channel on your main telegram accout
Commands avaliable from every chats (instead notes)