summaryrefslogtreecommitdiff
path: root/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'message.go')
-rw-r--r--message.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/message.go b/message.go
index cb13e75..e9aaf74 100644
--- a/message.go
+++ b/message.go
@@ -10,9 +10,9 @@ import (
func sendMessage(responseUrl, origText, text string) error {
jm := message{
- Text: origText,
- //ResponseType: "in_channel",
- Attachments: []Attachment{{Text: text, Color: "#36a64f"}},
+ Text: origText,
+ ResponseType: "in_channel",
+ Attachments: []attachment{{Text: text, Color: "#36a64f"}},
}
b, _ := json.Marshal(jm)