mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 21:33:17 +00:00
Removed radio.voiceChannel.leave() and replaced with radio.connection.destroy() in maintenance.js
This commit is contained in:
parent
f543cd3267
commit
5efb68b717
@ -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, ''))
|
||||
|
Loading…
Reference in New Issue
Block a user