initial revamp of cognigy verb to use gather, accept session and turn-level config from bot

This commit is contained in:
Dave Horton
2022-01-23 23:07:00 -05:00
parent 27d6d32359
commit b94605127e
5 changed files with 154 additions and 54 deletions

View File

@@ -79,7 +79,11 @@ class TaskSay extends Task {
const {memberId, confName, confUuid} = cs;
await this.playToConfMember(this.ep, memberId, confName, confUuid, filepath[segment]);
}
else await ep.play(filepath[segment]);
else {
this.logger.debug(`Say:exec sending command to play file ${filepath[segment]}`);
await ep.play(filepath[segment]);
this.logger.debug(`Say:exec completed play file ${filepath[segment]}`);
}
} while (!this.killed && ++segment < filepath.length);
}
} catch (err) {