Slack plugin: automatically subscribe a channel to updates on a topic when link is shared

I was thinking it would follow the design established already for categories, using the /slash-command

So it’d be something like:

/discourse [watch|follow|mute|help|status] [category|tag|all]

Whether tags need to be namespaced or not is something I don’t personally feel too strongly about. On the one hand, the plugin could just infer it for the user, saving them from having to specify things explicitly. There would be the edge-case of a tag that also exists as a category, in which case, a simple “category wins” rule could be put in place. Alternatively, we could require something like this:

/discourse [watch|follow|mute|help|status] [category|tag:name|all]

So to subscribe to the “teapot” category, I would do:

/discourse watch teapot

And to subscribe to the “teapot” tag, I would do this instead:

/discourse watch tag:teapot
1 Like