mw.log.warn(`[skins.citizen.commandPalette|CommandProvider] Handler for command "${id}" (matched via trigger "${trigger}") not found in registry. This indicates an inconsistency.`);
returnnull;
}
return{handler,trigger,id};
}
/**
* Executes a sub-query command and returns the processed results.
*
* @param {CommandPaletteCommand} handler The command handler.
* @param {string} query The full search query.
* @param {string} trigger The trigger that matched.
* @param {string} commandId The ID of the command.