blob: 2e30dfa4b7b57513fa8d477d0923be4005fff704 (
plain) (
tree)
|
|
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
|