update
This commit is contained in:
+4
-4
@@ -44,10 +44,10 @@ func init() {
|
|||||||
}
|
}
|
||||||
var err error
|
var err error
|
||||||
b, err = tb.NewBot(tb.Settings{
|
b, err = tb.NewBot(tb.Settings{
|
||||||
URL: tg.Get("url"),
|
URL: tg.Get("url"),
|
||||||
Token: token,
|
Token: token,
|
||||||
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
||||||
ParseMode: tb.ModeMarkdownV2,
|
// ParseMode: tb.ModeMarkdownV2,
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user