Closed professor closed 3 years ago
There is, you have to do something like <@id>
, or <!id>
, except that id
is an internal identifier that you only ever see when Slack itself is really slow or wonky, and isn't resolving internal identifiers to names. We have a joke pipeline that @-interrupts a slack team every hour that uses something like this:
- put: slack
params:
text: Help, I've fallen and can't get up, I need <!subteam^SBM1AFXYZ|someone>
(don't worry, that pipeline is paused until someone remembers we have it)
I found the solution.....
"<@WPX3930123> <!subteam^S01432423921>"
The first is @messaging an individual. You can get their member id by going to their profile via slack app or web app. The second is @messaging a group. You can get their member from the web app.
@jhunt sorry, I had this ready to go and got interrupted!
@jhunt Do we want to put this in the readme?
See https://github.com/cloudfoundry-community/slack-notification-resource/pull/89 for my suggestion
In one of our slack messages, we would like to @ mention a team. Slack seems to treat this as text, not a command. I'm wondering if there is some special syntax to use.