From a3d6e00827bab55727d99c5f5ab95630298644ea Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Sat, 24 May 2025 15:31:54 +1000 Subject: [PATCH] responds with capital letter --- scripts/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/index.js b/scripts/index.js index c9ed6e3..f1feabb 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -6,6 +6,9 @@ function respond(template, params, parentId = null) { console.log(`{${key}}: ${params[key]}`); template = template.replaceAll(`{${key}}`, params[key]); }); + + template = template.charAt(0).toUpperCase() + template.slice(1); + if (!parentId) { ComfyJS.Say(template); } else {