Slack command to un(watch|follow|mute) tag or category

Test cases:

/discourse watch foo #watching category foo
/discourse watch bar #watching catgeory foo and bar
/discourse unwatch too #watching category bar
/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse unwatch tag:foo #watching tag bar

And perhaps this is a separate feature request, but what about updating the status for one tag? I think today it may do this:

/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse follow tag:foo 
#watching tag foo and bar, following tag foo

Instead of this:

/discourse watch tag:foo #watching tag foo
/discourse watch tag:bar #watching tag foo and bar
/discourse follow tag:foo 
#watching tag bar, following tag foo
4 Likes

A bunch of other issues have now been fixed:

This is the only one I see remaining that really prevents the plugin from being manageable for sites integrating with a slack instance that has 100’s of channels where admins need to enable users to have the ability to use the slack command as a self-service means to choose what kinds of topics their channels are subscribed to.

2 Likes

Created a PR for this feature here:

https://github.com/discourse/discourse-slack-official/pull/38

6 Likes

Thank you for the PR :+1: It was great that you added tests as well making it easier to review.

2 Likes