Function preproccess_command

Source
fn preproccess_command(
    session_state: &mut SessionState,
    command: &ChatCommandKind,
    args: &mut [String],
) -> Result<Option<Content>, Content>
Expand description

Preprocesses command arguments before execution.

This function handles special syntax like entity targeting (e.g., @target, @self) and resolves them to actual entity UIDs. It also handles subcommands and asset path prefixing.