mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:40:18 +00:00
Updated voiceStateUpdate
This commit is contained in:
parent
0ef9cad101
commit
39d7acaa9e
@ -13,6 +13,9 @@ module.exports = {
|
|||||||
if (!radio) return;
|
if (!radio) return;
|
||||||
|
|
||||||
if (newState.member.id === client.user.id && oldState.member.id === client.user.id) {
|
if (newState.member.id === client.user.id && oldState.member.id === client.user.id) {
|
||||||
|
console.log(oldState);
|
||||||
|
console.log(newState);
|
||||||
|
|
||||||
if (newState.channel === null) {
|
if (newState.channel === null) {
|
||||||
client.funcs.statisticsUpdate(client, newState.guild, radio);
|
client.funcs.statisticsUpdate(client, newState.guild, radio);
|
||||||
radio.audioPlayer.stop();
|
radio.audioPlayer.stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user