This commit is contained in:
cdle
2021-09-18 21:28:43 +08:00
parent 75f50f5a3a
commit c650e19cdb
+1
View File
@@ -36,6 +36,7 @@ func init() {
}
var err error
b, err = tb.NewBot(tb.Settings{
URL: tg.Get("url"),
Token: token,
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
})