Show experimental engine onboarding for greeting macros
This commit is contained in:
@@ -2735,6 +2735,7 @@ export function substituteParamsLegacy(content, _name1, _name2, _original, _grou
|
||||
else if (/{{\s*[!?~#/]/.test(content)) feature = 'macro flags';
|
||||
else if (/{{\s*[.$]/.test(content)) feature = 'variable shorthands';
|
||||
else if (/\{\{(?:(?!\}\}).)*\{\{(?=[\s\S]*?\}\}[\s\S]*?\}\})/.test(content)) feature = 'nested macro';
|
||||
else if (/{{(?:greeting|charFirstMessage)(?:::\d+)?}}/i.test(content)) feature = 'greeting macro';
|
||||
|
||||
if (feature) void onboardingExperimentalMacroEngine(feature);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user