Many users use our Slack integration to know what’s new in their repo’s Discussion. However, for large repos, these notifications can get overwhelming. Today, we’re introducing the ability to subscribe to specific Discussion categories in Slack. By default, when users subscribe to a Discussion, they subscribe to all categories. With the new command, we’re introducing a way to add category filters:
/github subscribe <org_name>/<repo_name> discussions:{category:"<category1>","<category2>"}
Users can also unsubscribe a Slack channel from previously set category filters with a similar command:
/github unsubscribe <org_name>/<repo_name> discussions:{category:"<category1>"}
Note: By default, if no category filters were added, the app will subscribe to all categories in the Discussion. Similarly, if you remove all category filters, the app will return to its default state of being subscribed to all categories. To unsubscribe from Discussions entirely, users can continue to use the unsubscribe command on Discussions, as shown below:
/github unsubscribe <org_name>/<repo_name> discussions