Hedwig.Handler

Summary

Functions

Gets opts for the given handler from the client config

Merge client options with handler options

Send a reply via the client pid

Functions

get_opts(client, handler)

Gets opts for the given handler from the client config.

groupchat(msg, body)
hear(regex, msg)
merge_client_opts(client, opts)

Merge client options with handler options.

reply(msg, body)

Send a reply via the client pid.

respond(regex, msg)