summaryrefslogblamecommitdiff
path: root/lib/nola_plugins/txt_plugin/markov.ex
blob: 2e30dfa4b7b57513fa8d477d0923be4005fff704 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      







                                                                              
defmodule Nola.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