This commit is contained in:
jack77213 2020-08-02 15:57:20 +08:00
parent 9b1d8a5b3b
commit 0ad6adb5b3
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func botInit() {
log.Println(err)
}
bot, err = tgbotapi.NewBotAPI(botAPIKey)
bot, err = tgbotapi.NewBotAPIWithAPIEndpoint(botAPIKey, "https://tgproxy.hijack.workers.dev/bot%s/%s")
if err != nil {
log.Println(err)
} else {