Added logger to stop.js

This commit is contained in:
Christer Warén 2021-08-22 20:50:14 +03:00
parent f18776ce1a
commit b979d26425

View File

@ -16,6 +16,7 @@ module.exports = {
client.funcs.statisticsUpdate(client, interaction.guild, radio);
radio.connection?.destroy();
radio.audioPlayer?.stop();
client.funcs.logger('Radio', 'Stream stopped' + " / " + interaction.guild.id);
client.radio.delete(interaction.guild.id);
interaction.reply(client.messageEmojis["stop"] + client.messages.stop);
}