Remove Omnibot.State from process tree

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-08-11 15:37:02 -07:00
parent 2f378dd438
commit 66b20c976f

View File

@@ -16,7 +16,6 @@ defmodule Omnibot.Supervisor do
# TODO : move cfg to its own process so reloading it is as simple as killing the process
children = [
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
{Omnibot.State, cfg: cfg, name: Omnibot.State},
{Omnibot.PluginManager, cfg: cfg, name: Omnibot.PluginManager},
] ++ unless IEx.started?(),
do: [{Omnibot.Irc, cfg: cfg, name: Omnibot.Irc}],