some fixes and binary build optimization

This commit is contained in:
2026-01-20 11:34:07 +03:00
parent c5671add06
commit 2355623c38
7 changed files with 57 additions and 56 deletions

View File

@@ -6,6 +6,7 @@ import (
"kurumibot/utils"
"math"
"math/rand/v2"
"runtime"
"strconv"
"strings"
"time"
@@ -36,8 +37,9 @@ func RegisterEconomy(bot *laniakea.Bot) {
func about(ctx *laniakea.MsgContext, _ *laniakea.DatabaseContext) {
out := []string{
fmt.Sprintf("Go: %s", "1.25.5"),
fmt.Sprintf("Версия laniakea: %s", laniakea.VersionString),
fmt.Sprintf("Go: %s", runtime.Version()),
fmt.Sprintf("Время сборки: %s", utils.BuildTime),
fmt.Sprintf("Версия Laniakea: %s", laniakea.VersionString),
}
ctx.Answer(strings.Join(out, "\n"))
}