init
This commit is contained in:
parent
9b1d8a5b3b
commit
0ad6adb5b3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue