voice: move broadcasts to client.voice

This commit is contained in:
Amish Shah
2019-03-23 12:36:53 +00:00
parent 3df56540e2
commit c8225631c9
5 changed files with 53 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ class AudioPlayer extends BasePlayer {
playBroadcast(broadcast, options) {
const dispatcher = this.createDispatcher(options, { broadcast });
broadcast.dispatchers.add(dispatcher);
broadcast.add(dispatcher);
return dispatcher;
}
}