From 803bc20fb7bddffcc06af12c0d3c905a2d279e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 11 Sep 2021 23:58:24 +0300 Subject: [PATCH] Update voiceStateUpdate event --- src/client/events/voiceStateUpdate.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/events/voiceStateUpdate.js b/src/client/events/voiceStateUpdate.js index 283e1d6..3eeb658 100644 --- a/src/client/events/voiceStateUpdate.js +++ b/src/client/events/voiceStateUpdate.js @@ -17,7 +17,7 @@ module.exports = { client.funcs.statisticsUpdate(client, newState.guild, radio); radio.connection?.destroy(); radio.message?.delete(); - client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); + client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop'); return client.radio.delete(newState.guild.id); } @@ -39,7 +39,7 @@ module.exports = { client.funcs.statisticsUpdate(client, newState.guild, radio); radio.connection?.destroy(); radio.message?.delete(); - client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); + client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop'); client.radio.delete(oldState.guild.id); } return; @@ -58,7 +58,7 @@ module.exports = { client.funcs.statisticsUpdate(client, newState.guild, radio); radio.connection?.destroy(); radio.message?.delete(); - client.funcs.logger('Radio', 'Stream stopped' + " / " + newState.guild.id); + client.funcs.logger('Radio', newState.guild.id + " / " + 'Stop'); client.radio.delete(newState.guild.id); } }, 60000);