Fawkes v0.4.1 Fawkes.EventHandler behaviour View Source

Defines a behaviour for building event handlers.

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle_event(arg1, term)

View Source

Specs

handle_event(Fawkes.Event.t(), term()) :: {:ok, term()}

Specs

help() :: String.t()

Specs

init(Fawkes.Bot.t(), term()) :: {:ok, term()}