slash v2.0.4 Slash.Formatter behaviour View Source

Handles formatting a command from internal name to external name.

See Slash.Formatter.Dasherized for the default implementation.

Link to this section Summary

Callbacks

Converts and internal representation of a command to a command that can be used in Slack

Link to this section Callbacks

Link to this callback

to_command_name(arg0) View Source
to_command_name(String.t()) :: String.t()

Converts and internal representation of a command to a command that can be used in Slack.