Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 750 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 750 Bytes

Slack

Elixir lib to send messages to Slack through a webhook or with an API token.

Installation

If the package can be installed by adding slack to your list of dependencies in mix.exs:

def deps do
  [
    {:slack, github: "petlove/slack_elixir"},
  ]
end

Setup

Follow the slack API docs to create your own app and retrieve your API keys and/or webhooks.

Add the following to your config.exs:

config :slack,
  token: "slack_api_token"