Updated voiceStateUpdate

This commit is contained in:
Christer Warén 2021-08-04 15:03:58 +03:00
parent 0ef9cad101
commit 39d7acaa9e

View File

@ -13,6 +13,9 @@ module.exports = {
if (!radio) return;
if (newState.member.id === client.user.id && oldState.member.id === client.user.id) {
console.log(oldState);
console.log(newState);
if (newState.channel === null) {
client.funcs.statisticsUpdate(client, newState.guild, radio);
radio.audioPlayer.stop();