diff --git a/src/VoiceInterface/VoiceUtils.ts b/src/VoiceInterface/VoiceUtils.ts index df02948..7de4433 100644 --- a/src/VoiceInterface/VoiceUtils.ts +++ b/src/VoiceInterface/VoiceUtils.ts @@ -31,7 +31,7 @@ class VoiceUtils { } ): Promise { const conn = await this.join(channel, options); - const sub = new StreamDispatcher(conn, channel); + const sub = new StreamDispatcher(conn, channel, options.maxTime); this.cache.set(channel.guild.id, sub); return sub; }