- clone this repo
- run
npm install
- Create your bot in http://t.me/BotFather
- Install mongodb on your server
- Create .env file in main directory
# your personal telegrambot token
BOT_TOKEN=[TELEGRAM_BOT_TOKEN]
# mongodb connection string
MONGO_URL="mongodb://127.0.0.1:27017/"
# your contact
DEVELOPER_CONTACT="@your"
# file path to secrets file
SECRETS_FILE_PATH="/etc/ipsec.secrets"
# your ssh server password for publish
SUDO_PASSWORD="password"
# your ssh server url for publish
SSH_URL="8.8.8.8"
# your ssh server login for publish
SSH_LOGIN="login"
- run bot
npm start
- start - information about bot works
- info - working conditions
- registration - new user registration process
- status - registered user connection status
- help - help information