summaryrefslogtreecommitdiff
path: root/lib/plugins/txt/markov.ex
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2025-06-25 19:22:59 +0200
committerJordan Bracco <href@random.sh>2025-06-25 19:22:59 +0200
commitc934e79e5852e05f714b2d542cc2678e287c49b8 (patch)
tree55779a0168260fce03e4775eacdd613ffc945588 /lib/plugins/txt/markov.ex
parentupdates (diff)
format.
Diffstat (limited to 'lib/plugins/txt/markov.ex')
-rw-r--r--lib/plugins/txt/markov.ex8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/plugins/txt/markov.ex b/lib/plugins/txt/markov.ex
index b47666c..2b3d210 100644
--- a/lib/plugins/txt/markov.ex
+++ b/lib/plugins/txt/markov.ex
@@ -1,9 +1,7 @@
defmodule Nola.Plugins.Txt.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}
-
+ @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