agala v3.0.0 Agala.Bot.Supervisor
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Retrieves the compile time configuration for the bot
Retrieves the runtime configuration for the bot
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
compile_config(atom, bot, opts)
compile_config( :poller | :plug | :handler, bot :: Agala.Bot.t(), opts :: Keyword.t() ) :: {atom(), Agala.Provider.t(), Keyword.t()}
Retrieves the compile time configuration for the bot.
Link to this function
runtime_config(atom, type, bot, otp_app, opts)
Retrieves the runtime configuration for the bot.
Link to this function
start_link(mode, bot, otp_app, provider, opts)
start_link( mode :: :poller | :plug | :handler, bot :: Agala.Bot.t(), otp_app :: atom(), provider :: Agala.Provider.t(), opts :: Keyword.t() ) :: Supervisor.on_start()