mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
chore(StreamDispatcher): remove end event
use finish event instead
This commit is contained in:
@@ -68,8 +68,6 @@ class StreamDispatcher extends Writable {
|
||||
|
||||
this.on('finish', () => {
|
||||
this._cleanup();
|
||||
// Still emitting end for backwards compatibility, probably remove it in the future!
|
||||
this.emit('end');
|
||||
this._setSpeaking(0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user