Minor changes all around
* Wordbot does not IO.inspect() the winners of the round * Split Omnibot.Plugin.base_children/1 into base_children_before/1 and base_children_after/1 for plugins that come before and after the children in the module * Other minor changes Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -21,8 +21,7 @@ defmodule Omnibot.Plugin.Supervisor do
|
||||
|
||||
@impl true
|
||||
def init({plugin, cfg}) when is_atom(plugin) do
|
||||
state = plugin.on_init(cfg)
|
||||
children = IO.inspect(plugin.plugin_children(cfg, state))
|
||||
children = plugin.plugin_children(cfg)
|
||||
Supervisor.init(children, strategy: :one_for_one)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user