diff --git a/main.go b/main.go index c2e3e56..1afa0aa 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,9 @@ func main() { nechotron.SetMyCommands(api, "", echotron.BotCommandScope{Type: echotron.Any}, defaultCommands...) nechotron.SetMyCommands(api, "", echotron.BotCommandScope{Type: echotron.BCSTAllChatAdministrators}, allCommands...) go RSSTask(&api) - log.Fatal(neco.DispatchPoll()) + for { + log.Println(neco.DispatchPoll()) + } } func createIndexes(db *tongo.Database) error {