paulhammond / slackcat

Post messages to Slack from the command line
MIT License
142 stars 24 forks source link

Removed `parse` parameter #15

Open Aliance opened 8 years ago

Aliance commented 8 years ago

If you want Slack to treat your message as completely unformatted, pass parse=full. This will ignore any markup formatting you added to your message. https://api.slack.com/docs/formatting#parsing_modes

So I just completly removed parse parameter.

To test my changes I've created a messages.txt file:

first plain text message
second message with <http://google.com/|link>

And run cat messages.txt | go run slackcat.go twice (in master and in my branch). This is the results: slack The first 2 messages - master, the last 2 - with my changes.

cc @paulhammond

Fixes #12

Aliance commented 7 years ago

@paulhammond any response?