Using an "@ mention" seems not to work
professor opened this issue · comments
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.
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 #89 for my suggestion