add params to start listening

This commit is contained in:
akirilyuk
2022-02-01 16:04:36 +01:00
parent e20c472bd2
commit 4ea9707e4e

View File

@@ -111,7 +111,7 @@ class TaskGather extends Task {
if (!this.killed) startListening(cs, ep); if (!this.killed) startListening(cs, ep);
}); });
} }
else startListening(); else startListening(cs, ep);
if (this.input.includes('speech') && this.listenDuringPrompt) { if (this.input.includes('speech') && this.listenDuringPrompt) {
await this._initSpeech(cs, ep); await this._initSpeech(cs, ep);