fix gather bug

This commit is contained in:
akirilyuk
2022-02-01 16:01:00 +01:00
parent 18a141edc6
commit f2421bb3dd

View File

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