refactor(SystemKeywords): comment out unused ID column logic for clarity
Some checks failed
GBCI / build (push) Failing after 8m12s
Some checks failed
GBCI / build (push) Failing after 8m12s
This commit is contained in:
parent
afe9e6c7ab
commit
a33ed106f7
2 changed files with 9 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ export class DialogKeywords {
|
|||
// In case of unmatch, asks the person to try again.
|
||||
|
||||
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 });
|
||||
}
|
||||
} else if (kind === 'file') {
|
||||
|
|
|
@ -579,6 +579,14 @@ export class KeywordsExpressions {
|
|||
return `${$1} = await dk.hear({pid: pid, kind:"email"})`;
|
||||
}
|
||||
];
|
||||
|
||||
keywords[i++] = [
|
||||
/^\s*hear (\w+\$*) as\s*number/gim,
|
||||
($0, $1) => {
|
||||
return `${$1} = await dk.hear({pid: pid, kind:"integer"})`;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
keywords[i++] = [
|
||||
/^\s*hear (\w+\$*) as\s*integer/gim,
|
||||
|
|
Loading…
Add table
Reference in a new issue