refactor(SystemKeywords): comment out unused ID column logic for clarity
Some checks failed
GBCI / build (push) Failing after 8m12s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-06-27 15:37:04 -03:00
parent afe9e6c7ab
commit a33ed106f7
2 changed files with 9 additions and 1 deletions

View file

@ -1104,7 +1104,7 @@ export class DialogKeywords {
// In case of unmatch, asks the person to try again. // In case of unmatch, asks the person to try again.
if (result === null) { if (result === null) {
await this.talk({ pid, text: `Escolha por favor um dos itens sugeridos.` }); await this.talk({ pid, text: `Digite por favor um dos itens sugeridos ou uma parte do texto.` });
return await this.hear({ pid, kind, args }); return await this.hear({ pid, kind, args });
} }
} else if (kind === 'file') { } else if (kind === 'file') {

View file

@ -580,6 +580,14 @@ export class KeywordsExpressions {
} }
]; ];
keywords[i++] = [
/^\s*hear (\w+\$*) as\s*number/gim,
($0, $1) => {
return `${$1} = await dk.hear({pid: pid, kind:"integer"})`;
}
];
keywords[i++] = [ keywords[i++] = [
/^\s*hear (\w+\$*) as\s*integer/gim, /^\s*hear (\w+\$*) as\s*integer/gim,
($0, $1) => { ($0, $1) => {