add README

This commit is contained in:
E. S 2025-02-28 23:00:04 +03:00
parent 20e8d8474b
commit 19d8e61686

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# idb_channel_bot
## Configuration
Create `.env` file with following variables:
```
TELEGRAM_TOKEN=
POSTS_DIR=posts
CHANNEL_ID=
MESSAGE_LINK_TEMPLATE="https://t.me/c/123/{id}"
PROD_CHANNEL_ID=
PROD_MESSAGE_LINK_TEMPLATE="https://t.me/username/{id}"
```
## License
BSD-2-Clause