diff --git a/commands/deleteLearnedData.go b/commands/deleteLearnedData.go index e27f3e0..6a7505b 100644 --- a/commands/deleteLearnedData.go +++ b/commands/deleteLearnedData.go @@ -60,7 +60,7 @@ func deleteLearnedDataRun(c *Command, s *discordgo.Session, m any, args *[]strin }, { 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), @@ -130,8 +130,8 @@ func deleteLearnedDataRun(c *Command, s *discordgo.Session, m any, args *[]strin embed := &discordgo.MessageEmbed{ Title: command + " 삭제", - Description: command + " 에 대한 대답 중 하나를 선ㅌ택하여 삭제해주세요.\n" + - utils.CodeBlockWithLanguage("md", description), + Description: utils.CodeBlockWithLanguage("md", "# "+command+" 에 대한 대답 중 하나를 선ㅌ택하여 삭제해주세요.\n"+ + description), Color: int(utils.EDefault), } diff --git a/commands/learn.go b/commands/learn.go index 19b7409..aede037 100644 --- a/commands/learn.go +++ b/commands/learn.go @@ -78,7 +78,7 @@ func learnRun(c *Command, s *discordgo.Session, m any, args *[]string) { }, { 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), diff --git a/components/deleteLearnedData.go b/components/deleteLearnedData.go index 8e6bb90..d3cfb90 100644 --- a/components/deleteLearnedData.go +++ b/components/deleteLearnedData.go @@ -69,6 +69,7 @@ var DeleteLearnedDataComponent *commands.Component = &commands.Component{ { Title: "✅ 삭제 완료", Description: itemId + "번을 삭ㅈ제했어요.", + Color: int(utils.ESuccess), }, }, Components: &[]discordgo.MessageComponent{}, diff --git a/configs/version.go b/configs/version.go index cf5ef15..1d1c395 100644 --- a/configs/version.go +++ b/configs/version.go @@ -7,7 +7,7 @@ import ( "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]