Address multiple hotline messages with a single reply
value
As an admin with a channel that has a hotly used hotline, sometimes I want to send the same message to a number of people so that I don't have to type or copy and paste that reply a bunch of times (and thus further clog my channel feed).
behavior
happy path
- GIVEN an admin lola on a channel with
HOTLINE ON
- WHEN lola sees two similar hotline messages:
[HOTLINE @9123]
where's the march tonight?
[HOTLINE @9217]
where are we meeting for the march tonight?
- THEN lola responds with
@9213 @9217 washington square park, 6pm!
- AND THEN she gets the following response:
[REPLY TO HOTLINE @9123, @9217]
washington square park, 6pm!
- AND THEN each of the hotline senders receive
[PRIVATE REPLY FROM ADMINS]
washington square park, 6pm!
sad path
- WHEN lola sends a reply with a mix of valid and invalid hotline id's:
@9213 @9214 @12 washington square park, 6pm!
- THEN the valid one gets sent, and she gets an error message about the bad id:
[REPLY TO HOTLINE @9123, @9214]
washington square park, 6pm!
Sorry, the hotline message ID @1234 has expired or never existed.