Alexia.Governor.Matcher (alexia v0.8.1)

Each Bot has a Matcher GenServer which runs independent
Tasks for the functions and modules to run the commands.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Each bot has a matcher.

Dynamically starting a matcher for a bot under the Matcher Supervisor Use from within your application to add a dynamic bots to match

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

init(atom() | %{id: any()}) :: {:ok, atom() | %{id: any()}}

Callback implementation for GenServer.init/1.

Link to this function

match(matcher_name, message)

Link to this function

match(matcher_name, message, bot_id)

Link to this function

start_link(bot)

Each bot has a matcher.

Link to this function

start_matcher(bot)

Dynamically starting a matcher for a bot under the Matcher Supervisor Use from within your application to add a dynamic bots to match