Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Removed parse parameter #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions slackcat.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ type SlackMsg struct {
Channel string `json:"channel"`
Username string `json:"username,omitempty"`
Text string `json:"text"`
Parse string `json:"parse"`
IconEmoji string `json:"icon_emoji,omitempty"`
}

Expand Down Expand Up @@ -129,7 +128,6 @@ func main() {
msg := SlackMsg{
Channel: *channel,
Username: *name,
Parse: "full",
Text: strings.Join(args, " "),
IconEmoji: *icon,
}
Expand All @@ -147,7 +145,6 @@ func main() {
msg := SlackMsg{
Channel: *channel,
Username: *name,
Parse: "full",
Text: scanner.Text(),
IconEmoji: *icon,
}
Expand Down