Home

Awesome

AliceXkcd

Hex.pm Hex.pm Hex.pm

A handler for Alice Slack bot. Retrieves latest, specific and random XKCD comics.

Installation

If available in Hex, the package can be installed as:

  1. Add alice_xkcd to your list of dependencies in mix.exs:
```elixir
defp deps do
   [
     {:websocket_client, github: "jeremyong/websocket_client"},
     {:alice, "~> 0.3"},
     {:alice_xkcd, "~> 0.0.3"}
   ]
end
```

2. Add the handler to your list of registered handlers in mix.exs:

```elixir
def application do
  [applications: [:alice],
    mod: {
      Alice, [Alice.Handlers.Xkcd, ...]}]
end
```

Usage

Use @alice help for more information