A handler for Alice Slack bot. Retrieves latest, specific and random XKCD comics.
If available in Hex, the package can be installed as:
- Add
alice_xkcd
to your list of dependencies inmix.exs
:
```elixir
defp deps do
[
{:websocket_client, github: "jeremyong/websocket_client"},
{:alice, "~> 0.3"},
{:alice_xkcd, "~> 0.0.3"}
]
end
```
- Add the handler to your list of registered handlers in
mix.exs
:
```elixir
def application do
[applications: [:alice],
mod: {
Alice, [Alice.Handlers.Xkcd, ...]}]
end
```
Use @alice help
for more information