Fix: some bugs?
This commit is contained in:
parent
dc2751f58f
commit
d9a4105fa9
4 changed files with 6 additions and 5 deletions
|
@ -60,7 +60,7 @@ func deleteLearnedDataRun(c *Command, s *discordgo.Session, m any, args *[]strin
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "예시",
|
Name: "예시",
|
||||||
Value: utils.InlineCode(strings.Join(addPrefix(c.DetailedDescription.Examples), "\n")),
|
Value: utils.CodeBlockWithLanguage("md", strings.Join(addPrefix(c.DetailedDescription.Examples), "\n")),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Color: int(utils.EFail),
|
Color: int(utils.EFail),
|
||||||
|
@ -130,8 +130,8 @@ func deleteLearnedDataRun(c *Command, s *discordgo.Session, m any, args *[]strin
|
||||||
|
|
||||||
embed := &discordgo.MessageEmbed{
|
embed := &discordgo.MessageEmbed{
|
||||||
Title: command + " 삭제",
|
Title: command + " 삭제",
|
||||||
Description: command + " 에 대한 대답 중 하나를 선ㅌ택하여 삭제해주세요.\n" +
|
Description: utils.CodeBlockWithLanguage("md", "# "+command+" 에 대한 대답 중 하나를 선ㅌ택하여 삭제해주세요.\n"+
|
||||||
utils.CodeBlockWithLanguage("md", description),
|
description),
|
||||||
Color: int(utils.EDefault),
|
Color: int(utils.EDefault),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ func learnRun(c *Command, s *discordgo.Session, m any, args *[]string) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "예시",
|
Name: "예시",
|
||||||
Value: utils.InlineCode(strings.Join(addPrefix(c.DetailedDescription.Examples), "\n")),
|
Value: utils.CodeBlockWithLanguage("md", strings.Join(addPrefix(c.DetailedDescription.Examples), "\n")),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Color: int(utils.EFail),
|
Color: int(utils.EFail),
|
||||||
|
|
|
@ -69,6 +69,7 @@ var DeleteLearnedDataComponent *commands.Component = &commands.Component{
|
||||||
{
|
{
|
||||||
Title: "✅ 삭제 완료",
|
Title: "✅ 삭제 완료",
|
||||||
Description: itemId + "번을 삭ㅈ제했어요.",
|
Description: itemId + "번을 삭ㅈ제했어요.",
|
||||||
|
Color: int(utils.ESuccess),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Components: &[]discordgo.MessageComponent{},
|
Components: &[]discordgo.MessageComponent{},
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"git.wh64.net/muffin/goMuffin/utils"
|
"git.wh64.net/muffin/goMuffin/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MUFFIN_VERSION = "0.0.0-gopher_canary.250331a"
|
const MUFFIN_VERSION = "0.0.0-gopher_canary.250331b"
|
||||||
|
|
||||||
var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]
|
var updatedString string = utils.Decimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue