Stop audioPlayer in maintenance.js

This commit is contained in:
Christer Warén 2021-08-04 13:07:48 +03:00
parent db409ac6d2
commit b2ae9ef6f0

View File

@ -28,6 +28,7 @@ module.exports = {
if(currentRadio){
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio);
currentRadio.connection.destroy();
currentRadio.audioPlayer.stop();
const cembed = new Discord.MessageEmbed()
.setTitle(client.messages.maintenanceTitle)
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, ''))