summaryrefslogtreecommitdiff
path: root/lib/lsg_irc/txt_plugin/markov.ex
blob: 311138c484a5a7e2d951858fffd1912841de7193 (plain) (blame)
1
2
3
4
5
6
7
8
9
defmodule LSG.IRC.TxtPlugin.Markov do

  @type state :: any()
  @callback start_link() :: {:ok, state()}
  @callback reload(content :: Map.t, state()) :: any()
  @callback sentence(state()) :: {:ok, String.t} | {:error, String.t}
  @callback complete_sentence(state()) :: {:ok, String.t} | {:error, String.t}

end