Packages
Plug builder for the routing of Slack slash commands
Retired package: Deprecated - Please use slash instead
Current section
Files
Jump to
Current section
Files
lib/slack_command.ex
defmodule SlackCommand do
def child_spec(router) do
port = Application.get_env(:slack_command, :port)
Plug.Adapters.Cowboy.child_spec(:http, router, [], [port: port])
end
end