An open API service indexing awesome lists of open source software.

https://github.com/delath/megumi-bot

Telegram bot developed in Go, used as a controller for my server.
https://github.com/delath/megumi-bot

bot go telegram

Last synced: 4 months ago
JSON representation

Telegram bot developed in Go, used as a controller for my server.

Awesome Lists containing this project

README

          

## Cross-compiling from windows powershell
```powershell
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"
$Env:TELEGRAM_BOT_TOKEN = "0000000000:ABCDEFGHIJKLMNOPQRSTUVWXYZABEXAMPLE"
$Env:CONFIG_FILE_PATH = "/path/to/config.json"
go build main.go
```

## Running the bot on debian and probably many other linux distributions
```bash
env TELEGRAM_BOT_TOKEN=0000000000:ABCDEFGHIJKLMNOPQRSTUVWXYZABEXAMPLE CONFIG_FILE_PATH=/path/to/config.json /path/to/your/executable
```