Update tg.go

This commit is contained in:
cdle
2021-10-14 05:34:05 +08:00
committed by GitHub
parent 407e4bff55
commit 9f5d209141
+1
View File
@@ -64,6 +64,7 @@ func init() {
Token: token,
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
// ParseMode: tb.ModeMarkdownV2,
Url: tg.Get("url")
}
if url := tg.Get("http_proxy"); url != "" {
client, clientErr := buildClientWithProxy(url)