infinite polling
This commit is contained in:
1 parent
95e0b1952f
commit
79d4ed3540
1 file changed
+3
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user