discourse-slack-plugin icon indicating copy to clipboard operation
discourse-slack-plugin copied to clipboard

Post to variable slack channels

Open newellista opened this issue 10 years ago • 2 comments

If you define the SiteSetting.slack_channel to include {category}, the plugin will substitute the Post category name.

For example:

If you have defined:

SiteSetting.slack_channel = "#discourse-{category}"

and you create a new Post in with a Category of "Servers", the notification will get posted to the #discourse-servers channel.

newellista avatar Jan 07 '16 21:01 newellista

@newellista Would #7 fit for your use case as well?

bernd avatar Feb 25 '16 07:02 bernd

@bernd #7 looks like it would cover our use case. I'm fine with either solution.

newellista avatar Feb 25 '16 14:02 newellista