pub fn get_command_by_name<'a>(
commands: &'a [SlashCommand],
name: &str,
) -> Option<&'a SlashCommand>Expand description
Returns a command by its name, or None if not found
pub fn get_command_by_name<'a>(
commands: &'a [SlashCommand],
name: &str,
) -> Option<&'a SlashCommand>Returns a command by its name, or None if not found