Merge branch 'main' of https://github.com/cdle/sillyGirl into main

This commit is contained in:
cdle
2021-10-14 09:46:06 +08:00
+2
View File
@@ -64,6 +64,8 @@ func init() {
Token: token, Token: token,
Poller: &tb.LongPoller{Timeout: 10 * time.Second}, Poller: &tb.LongPoller{Timeout: 10 * time.Second},
// ParseMode: tb.ModeMarkdownV2, // ParseMode: tb.ModeMarkdownV2,
URL: tg.Get("url"),
} }
if url := tg.Get("http_proxy"); url != "" { if url := tg.Get("http_proxy"); url != "" {
client, clientErr := buildClientWithProxy(url) client, clientErr := buildClientWithProxy(url)