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

Support text formatting for Slack #127

Open
ta924 opened this issue Jul 9, 2020 · 1 comment
Open

Support text formatting for Slack #127

ta924 opened this issue Jul 9, 2020 · 1 comment

Comments

@ta924
Copy link

ta924 commented Jul 9, 2020

If a command is sent with bold message formatting the logic doesn't seem to match it to a plugin. I would assume this has to do with the formatting of the message being surrounded in * characters. Is there an option to remove formatting or continue to route the message to the plugins if formatting is present?

@fabioxgn
Copy link
Member

fabioxgn commented Aug 7, 2020

I guess it have to be handled in this method: https://github.com/go-chat-bot/bot/blob/master/slack/slack.go#L114

It is just passing the message "as is" removing the formatting characters in this method should solve this.

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

No branches or pull requests

2 participants