fix(VoiceConnection): make #dispatcher nullable (#5217)

This commit is contained in:
Shubham Parihar
2021-01-22 23:47:32 +05:30
committed by GitHub
parent 5ac3b57f9b
commit 0d5de4333d

2
typings/index.d.ts vendored
View File

@@ -1650,7 +1650,7 @@ declare module 'discord.js' {
public channel: VoiceChannel;
public readonly client: Client;
public readonly dispatcher: StreamDispatcher;
public readonly dispatcher: StreamDispatcher | null;
public player: object;
public receiver: VoiceReceiver;
public speaking: Readonly<Speaking>;