mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:13:17 +00:00
Update stop command
This commit is contained in:
parent
13ae6c2716
commit
73d330d1e2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user