mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 09:13:18 +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);
|
const radio = client.radio.get(interaction.guild.id);
|
||||||
client.funcs.statisticsUpdate(client, interaction.guild, radio);
|
client.funcs.statisticsUpdate(client, interaction.guild, radio);
|
||||||
radio.connection?.destroy();
|
radio.connection?.destroy();
|
||||||
radio.audioPlayer?.stop();
|
client.funcs.logger('Radio', interaction.guild.id + " / " + 'Stop');
|
||||||
client.funcs.logger('Radio', 'Stream stopped' + " / " + interaction.guild.id);
|
|
||||||
|
|
||||||
const embed = new Discord.MessageEmbed()
|
const embed = new Discord.MessageEmbed()
|
||||||
.setTitle(client.user.username)
|
.setTitle(client.user.username)
|
||||||
|
Loading…
Reference in New Issue
Block a user