types(VoiceBroadcast): add subscribers property (#3677)

* types(VoiceBroadcast): add subscribers property

* types(VoiceBroadcast): change player property to private

Co-Authored-By: Amish Shah <amishshah.2k@gmail.com>

Co-authored-by: Amish Shah <amishshah.2k@gmail.com>
This commit is contained in:
Ayyan Lewis
2020-01-13 21:01:16 +04:00
committed by Amish Shah
parent 53a1f8fcd4
commit 45cd58b68c

3
typings/index.d.ts vendored
View File

@@ -1475,7 +1475,8 @@ declare module 'discord.js' {
class VoiceBroadcast extends EventEmitter {
constructor(client: Client);
public client: Client;
public dispatchers: StreamDispatcher[];
public subscribers: StreamDispatcher[];
private player: BroadcastAudioPlayer;
public readonly dispatcher: BroadcastDispatcher;
public play(input: string | Readable, options?: StreamOptions): BroadcastDispatcher;