From 0d5de4333d8afa57826aa75475fc4e3dfe8978c4 Mon Sep 17 00:00:00 2001 From: Shubham Parihar Date: Fri, 22 Jan 2021 23:47:32 +0530 Subject: [PATCH] fix(VoiceConnection): make #dispatcher nullable (#5217) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index f67831e51932..ec55edc0410c 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;