alice v0.4.3 API Reference

Modules

Alice is a Slack bot framework for Elixir. For more information, please see the readme.

Documentation for the OutboundClient behavior. This defines a behavior for modules that serve as an outbound connection to a backend.

A Spy to capture messages sent to the OutboundClient during testing.

Adapter for Slack

An Adapter for outbound messages to Slack.

Alice.Conn defines a struct that is used throughout alice to hold state during the lifetime of a message handling.

Allows a user to block Alice from responding to their next message

Helpers for writing tests of Alice Handlers.

A handler to return helptext for all registered handlers

Purely for testing purposes

Some utility routes for Alice

Generates a random tag on images so that they aren't cached and always show up in replies.

Handles the routing of messages for Alice

Helpers to make replying easier in handlers

Holds the registered handlers

State backend for Alice using Redis for persistence

Redis connection pool for the StateBackends.Redis