Skip to content

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

License

Notifications You must be signed in to change notification settings

delath/megumi-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross-compiling from windows 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

env TELEGRAM_BOT_TOKEN=0000000000:ABCDEFGHIJKLMNOPQRSTUVWXYZABEXAMPLE CONFIG_FILE_PATH=/path/to/config.json /path/to/your/executable

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages