Skip to main content

slash_name

Function slash_name 

Source
pub fn slash_name(name: &str) -> String
Expand description

The name a slash command is typed and drawn with. The wire carries it without the leading slash - the committed baseline’s slash_commands is ["doctor", "color", "reload-plugins"] - so every surface adds one before it renders.