View Source Kalevala.Character.Command.DynamicCommand behaviour (kalevala v0.1.0)

A parsed dynamic command

Generated from the dynamic command router DSL.

Link to this section Summary

Callbacks

Called when parsing text from a user

Link to this section Callbacks

@callback parse(text :: String.t(), options :: Keyword.t()) ::
  {:dynamic, function :: atom(), params :: map()} | :skip

Called when parsing text from a user

Options are passed through from the router.