torn-price-bot/README.md

9 lines
577 B
Markdown

## Startup on your own server
1. Create telegram bot using [@BotFather](https://t.me/BotFather) and get token;
2. Create telegram public channel, add a bot to it and give him admin rights (At least, `Post messages` permission);
3. Copy `.env.example` file content to `.env`;
4. Fill in `.env` file `BOT_TOKEN` value with a string containing your telegram bot token;
5. Replace in `.env` file `TELEGRAM_CHANNEL_NAME` value with a string containing inner telegram link to your public channel (for example, `@torn_prices`);
6. Start script in the background: `python3 main.py &`