match_command

Function match_command 

Source
pub fn match_command(query: &str) -> Option<&'static SlashCommand>
Expand description

Check if a command matches a query (name or alias)