Add NowPlaying command

This commit is contained in:
2022-02-05 00:32:02 +07:00
parent d31642f4d8
commit 8bf97e4438
4 changed files with 77 additions and 1 deletions
+4
View File
@@ -111,6 +111,10 @@ export class DiscordMusicPlayerInstance {
this.voiceChannel = currentVC;
}
});
this.voiceConnection.on(VoiceConnectionStatus.Disconnected, (oldState: VoiceConnectionState, newState: VoiceConnectionState) => {
// TODO: Handle on Disconnect by user (Right-click > Disconnect)
});
}
public async leaveVoiceChannel() {