fix: Editing information command

This commit is contained in:
Siwoo Jeon 2025-04-07 22:35:50 +09:00
parent a109806643
commit 672fdbcaaf
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA
2 changed files with 4 additions and 4 deletions

View file

@ -33,11 +33,11 @@ func informationRun(s *discordgo.Session, m any) {
Fields: []*discordgo.MessageEmbedField{ Fields: []*discordgo.MessageEmbedField{
{ {
Name: "운영 체제", Name: "운영 체제",
Value: utils.InlineCode(fmt.Sprintf("%s %s", runtime.GOOS, runtime.GOARCH)), Value: utils.InlineCode(fmt.Sprintf("%s %s", runtime.GOARCH, runtime.GOOS)),
}, },
{ {
Name: "제작자", Name: "제작자",
Value: owner.Username, Value: utils.InlineCode(owner.Username),
}, },
{ {
Name: "버전", Name: "버전",
@ -49,7 +49,7 @@ func informationRun(s *discordgo.Session, m any) {
Inline: true, Inline: true,
}, },
{ {
Name: "업타임", Name: "시작한 시각",
Value: utils.Time(configs.StartedAt, utils.RelativeTime), Value: utils.Time(configs.StartedAt, utils.RelativeTime),
Inline: true, Inline: true,
}, },

View file

@ -7,7 +7,7 @@ import (
"git.wh64.net/muffin/goMuffin/utils" "git.wh64.net/muffin/goMuffin/utils"
) )
const MUFFIN_VERSION = "5.0.0-gopher_preview.250406a" const MUFFIN_VERSION = "5.0.0-gopher_preview.250407a"
var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0] var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]