Move markov to be a supervisor plugin

This is probably going to be necessary to avoid race conditions in the
ETS storage

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-07-09 14:51:33 -07:00
parent 010d60f4f9
commit 8cddd8e78e
3 changed files with 71 additions and 36 deletions

View File

@@ -1,6 +1,5 @@
defmodule Omnibot.Contrib.Wordbot.Bot do
use Omnibot.Plugin.Base
use Omnibot.Plugin.GenServer
use Omnibot.Plugin
alias Omnibot.{Contrib.Wordbot, Irc, State, Util}
require Logger