diff --git a/pkg/svc/discord/events.go b/pkg/svc/discord/events.go index 5f235d7..a98dae5 100644 --- a/pkg/svc/discord/events.go +++ b/pkg/svc/discord/events.go @@ -73,10 +73,10 @@ func messageCreateEvt(s *discordgo.Session, evt *discordgo.MessageCreate) { for _, it := range acts { res := selectAction(info, it.Key, it.Value, payload) - // TODO: command result parse message type cmdmodel.Value = strings.ReplaceAll(cmdmodel.Value, fmt.Sprintf("{{%s}}", it.Origin), res) } + // TODO: switch case message response format client.SendMessage(channelID, cmdmodel.Value) }