From 399761751965c3e477b6757c6d43c4328310b4e6 Mon Sep 17 00:00:00 2001 From: Siwoo Jeon Date: Sat, 21 Jun 2025 10:04:03 +0900 Subject: [PATCH] feat:Add ephemeral --- commands/discommand.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/discommand.go b/commands/discommand.go index 539b25b..6caeb36 100644 --- a/commands/discommand.go +++ b/commands/discommand.go @@ -169,6 +169,7 @@ func (d *DiscommandStruct) ChatInputRun(name string, s *discordgo.Session, inter utils.NewMessageSender(i). AddComponents(utils.GetErrorContainer(discordgo.TextDisplay{Content: "해당 명령어는 개발자만 사용 가능해요."})). SetComponentsV2(true). + SetEphemeral(true). SetReply(true). Send() return @@ -178,6 +179,7 @@ func (d *DiscommandStruct) ChatInputRun(name string, s *discordgo.Session, inter utils.NewMessageSender(i). AddComponents(utils.GetUserIsNotRegisteredErrContainer(configs.Config.Bot.Prefix)). SetComponentsV2(true). + SetEphemeral(true). SetReply(true). Send() return