white-zone-bot/readme.md
2025-05-24 09:16:47 +06:00

27 lines
839 B
Markdown

## Brief
This project is the product of a misunderstanding of the clients request. Thus
it will no longer receive any updates. It's only kept to be used as a reference
for future telegram bot development with Golang.
## Setup
Just install the Golang compiler and compile this program. Here's how you would
do that:
- Install Golang on a Debian-based system with the following command:
```bash
sudo apt install golang
```
- Clone the repo, cd into it and build the program with the following command:
```bash
git clone <REPO_URL>
cd white-zone-bot
go build main.go
```
- This will generate an executable named `main`. Now you have to create a `.env` file
with the contents of the `.env.example` file and update the `.env` file with your
desired log level, sqlite database file, and telegram api token.