839 B
839 B
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:
sudo apt install golang -
Clone the repo, cd into it and build the program with the following command:
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.envfile with the contents of the.env.examplefile and update the.envfile with your desired log level, sqlite database file, and telegram api token.