I’ve followed the instructions in this guide and have my Disourse/Slack integration (mostly) working. Great work on this plugin! I do have three questions/observations.
Can’t subscribe to messages in a sub category by subscribing to the parent
This may be by-design, but it wasn’t obvious at first. I have parent categories with child categories under them. I expected that if I created a rule that filtered “All posts and replies” to the parent category that it would implicitly include each of the children categories as well. This did not seem to work however, and I needed to create rules for each of my (many) child categories. This would be a great enhancement request to simplify setup for a Discourse installation with many sub categories under a few parent categories.
Can’t subscribe to all categories with a single rule
I found some conflicting information on this and I assume the older Slack plugin allowed for this, but I couldn’t find a way to create a single rule that would simply subscript to all posts and replies from ALL categories in the site. I was hoping to do this all in a single, simple rule. But due to this and the point above, it took 31 separate rules instead of a single rule to just get a basic bridge between my entire Discourse platform and a Slack channel. Unless I’ve missed something, please consider this as an enhancement request as well.
Discourse post command only works in one channel
Now, this is likely my fault, but I can’t figure it out, I’ve been through all the threads on the topic, and I’d love some help. I’ve checked and doubled checked the permissions of my Slack app and I can confirm that it totally 100% works… in only one of my channels!
/discourse post 20
So I know the access token is set up and working fine. However, in all of the other channels in my Slack team, the command above simply outputs
Loading the transcript...
and that’s all. These are all public channels and I’ve tried every manner of combination of settings. The one channel that works was created newly today, but when I created another new channel to test, it didn’t work. I don’t even know where to begin troubleshooting this. The only logs I’m aware of in Discourse are
./launcher logs app
but there doesn’t seem to be anything at all there. What setting may I have overlooked that would only allow posting to work in one channel, and where would I look to debug this?