Wardrik.Notify.Room (wardrik v0.1.0-rc.1)

Copy Markdown

Posts notices to a room in one of Wardrik's channels, with Wardrik.Channel.notify/4.

ops: {Wardrik.Notify.Room, channel: "slack", room: "#ops", approvers: ["@maria"]}

A route to slack:#updates posts the same way, with no approvers.

Options

  • :channel - required. The channel's name.
  • :room - required. The room, as the channel names it.
  • :approvers - people a parked turn's notice asks, as the channel names them. [] unless set.

Skips the notice if the channel doesn't exist or doesn't implement notify/4.