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

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

Specs

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.