mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 02:33:18 +00:00
Stop audioPlayer in maintenance.js
This commit is contained in:
parent
db409ac6d2
commit
b2ae9ef6f0
@ -28,6 +28,7 @@ module.exports = {
|
|||||||
if(currentRadio){
|
if(currentRadio){
|
||||||
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio);
|
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio);
|
||||||
currentRadio.connection.destroy();
|
currentRadio.connection.destroy();
|
||||||
|
currentRadio.audioPlayer.stop();
|
||||||
const cembed = new Discord.MessageEmbed()
|
const cembed = new Discord.MessageEmbed()
|
||||||
.setTitle(client.messages.maintenanceTitle)
|
.setTitle(client.messages.maintenanceTitle)
|
||||||
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, ''))
|
.setThumbnail("https://cdn.discordapp.com/emojis/" + client.messageEmojis["maintenance"].replace(/[^0-9]+/g, ''))
|
||||||
|
Loading…
Reference in New Issue
Block a user