WardrikSlack.Answers (wardrik_slack v0.1.0-rc.1)

Copy Markdown

Handles presses of the buttons WardrikSlack.Waiting posts.

  • Approve and Deny decide the call with WardrikChannel.decide/4, with the note typed above them. The buttons are replaced by who decided.
  • Show link replies, to the person who pressed it only, with where to sign in.

Summary

Functions

Handles a block_actions payload from a waiting call's buttons. Returns :ignored for any other.

Functions

answer(workspace, payload)

@spec answer(WardrikChannel.Workspace.t(), map()) :: :ok | :ignored

Handles a block_actions payload from a waiting call's buttons. Returns :ignored for any other.