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

Conversation

Aliance
Copy link

@Aliance Aliance commented Jan 27, 2016

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
Copy link
Author

Aliance commented Dec 26, 2016

@paulhammond any response?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant