From 4ea9707e4e130965735e496c77265e2683c292f5 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Tue, 1 Feb 2022 16:04:36 +0100 Subject: [PATCH] add params to start listening --- lib/tasks/gather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 2b4a516f..0dbe4953 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -111,7 +111,7 @@ class TaskGather extends Task { if (!this.killed) startListening(cs, ep); }); } - else startListening(); + else startListening(cs, ep); if (this.input.includes('speech') && this.listenDuringPrompt) { await this._initSpeech(cs, ep);