responds with capital letter
This commit is contained in:
parent
9cf88aed56
commit
a3d6e00827
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue