Removed radio.voiceChannel.leave() and replaced with radio.connection.destroy() in maintenance.js

This commit is contained in:
Christer Warén 2021-08-04 12:56:08 +03:00
parent f543cd3267
commit 5efb68b717

View File

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