From 9bfc53bf377f6ca0c78328a447ef22cea0ad2be0 Mon Sep 17 00:00:00 2001 From: Siwoo Jeon Date: Sun, 25 May 2025 16:49:20 +0900 Subject: [PATCH] fix: delete error container --- commands/deleteLearnedData.go | 2 +- configs/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/deleteLearnedData.go b/commands/deleteLearnedData.go index 5b53fc8..7c2800e 100644 --- a/commands/deleteLearnedData.go +++ b/commands/deleteLearnedData.go @@ -85,7 +85,7 @@ func deleteLearnedDataRun(m any, command, userId string) { if len(data) < 1 { utils.NewMessageSender(m). - AddComponents(discordgo.TextDisplay{Content: "해당 하는 지식ㅇ을 찾을 수 없어요."}). + AddComponents(utils.GetErrorContainer(discordgo.TextDisplay{Content: "해당 하는 지식ㅇ을 찾을 수 없어요."})). SetComponentsV2(true). SetReply(true). Send() diff --git a/configs/version.go b/configs/version.go index 2e17626..173cad8 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-souffle_canary.250524b-componentsv2" +const MUFFIN_VERSION = "0.0.0-souffle_canary.250525a-componentsv2" var updatedString string = utils.RegexpDecimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]