REPOSITORY / ScuroNeko/Laniakea

Pull Requests

PULL REQUESTS REPOSITORY

v1.0.0 #9

Merged
ScuroNeko merged 101 commits from dev into main 2026-05-20 13:43:34 +03:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit c59dd1fe8e - Show all commits
+3 -2
View File
@@ -7,7 +7,6 @@ import (
"sort"
"strings"
"sync"
"time"
"git.nix13.pw/scuroneko/extypes"
"git.nix13.pw/scuroneko/laniakea/tgapi"
@@ -504,8 +503,10 @@ func (bot *Bot[T]) RunWithContext(ctx context.Context) {
default:
updates, err := bot.Updates(ctx)
if err != nil {
if errors.Is(err, context.Canceled) {
return
}
bot.logger.Errorln("failed to fetch updates:", err)
time.Sleep(time.Second) // exponential backoff
continue
}
+2 -2
View File
@@ -1,9 +1,9 @@
package utils
const (
VersionString = "1.0.0-rc.2"
VersionString = "1.0.0-rc.3"
VersionMajor = 1
VersionMinor = 0
VersionPatch = 0
VersionBeta = 2
VersionBeta = 3
)