Function complete

Source
pub fn complete(
    line: &str,
    client: &Client,
    i18n: &Localization,
    cmd_prefix: &str,
) -> Vec<String>
Expand description

Main tab completion function for chat input.

This function handles tab completion for both commands and regular chat. It determines what kind of completion is needed based on the input and delegates to the appropriate completion function.