WardrikSlack. Notices
(wardrik_slack v0.1.0-rc.1)
Copy Markdown
Lays out a Wardrik.Notice as one Slack message.
| Notice | Message |
|---|---|
:parked | the waiting calls, with Approve and Deny, naming the approvers |
:failed | why it failed |
:finished | the answer, under the agent's name |
The agent is named without its owner, as triage. See WardrikSlack.Rooms.shown/2.
Summary
Functions
Returns the message for notice. agent is the name to show; approvers are asked about a parked turn.
Functions
@spec message(Wardrik.Notice.t(), [String.t()], String.t()) :: %{ text: String.t(), blocks: [map()] }
Returns the message for notice. agent is the name to show; approvers are asked about a parked turn.