test
This commit is contained in:
parent
497aeeb199
commit
c825b9cfcb
2
main.go
2
main.go
@ -98,7 +98,7 @@ func main() {
|
|||||||
initCache(*initdb)
|
initCache(*initdb)
|
||||||
|
|
||||||
// Registering bot
|
// Registering bot
|
||||||
bot, err := tb.NewBot(tb.Settings{
|
bot, err = tb.NewBot(tb.Settings{
|
||||||
Token: cfg.Telegram.Token,
|
Token: cfg.Telegram.Token,
|
||||||
URL: cfg.Telegram.URL,
|
URL: cfg.Telegram.URL,
|
||||||
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
Poller: &tb.LongPoller{Timeout: 10 * time.Second},
|
||||||
|
Loading…
Reference in New Issue
Block a user