Telegram bot with actual TORN price
| .env.example | ||
| .gitignore | ||
| index.ts | ||
| package.json | ||
| README.md | ||
| utils.ts | ||
Startup on your own server
- Create telegram bot using @BotFather and get token;
- Create telegram public channel, add a bot to it and give him admin rights (At least,
Post messagespermission); - Copy
.env.examplefile content to.env; - Fill in
.envfileBOT_TOKENvalue with a string containing your telegram bot token; - Replace in
.envfileTELEGRAM_CHANNEL_NAMEvalue with a string containing inner telegram link to your public channel (for example,@torn_prices); - Replace in
.envfileMAINNET_RPC_URLvalue, if default RPC doesn't work; - Install dependencies:
npm i - Start script in the background:
npm run start