Update stop command

This commit is contained in:
Christer Warén 2021-09-11 17:15:27 +03:00
parent 13ae6c2716
commit 73d330d1e2

View File

@ -9,8 +9,7 @@ module.exports = {
const radio = client.radio.get(interaction.guild.id);
client.funcs.statisticsUpdate(client, interaction.guild, radio);
radio.connection?.destroy();
radio.audioPlayer?.stop();
client.funcs.logger('Radio', 'Stream stopped' + " / " + interaction.guild.id);
client.funcs.logger('Radio', interaction.guild.id + " / " + 'Stop');
const embed = new Discord.MessageEmbed()
.setTitle(client.user.username)