diff --git a/commands/play.js b/commands/play.js index 1f712b6..c5dd665 100644 --- a/commands/play.js +++ b/commands/play.js @@ -12,7 +12,7 @@ module.exports = { if (!radio) { if (!msg.member.voice.channel) return msg.channel.send('<:redx:674263474704220182> I\'m sorry but you need to be in a voice channel to play music!'); } else { - if (voiceChannel !== radio.voiceChannel) return msg.channel.send('<:redx:674263474704220182> I\'m sorry but you need to be in the same voice channel as Musix to play music!'); + if (voiceChannel !== radio.voiceChannel) return msg.channel.send('<:redx:674263474704220182> I\'m sorry but you need to be in the same voice channel as RadioX to play music!'); } if (!args[1]) return msg.channel.send('<:redx:674263474704220182> You need to use a link or search for a song!'); const permissions = voiceChannel.permissionsFor(msg.client.user); diff --git a/commands/stop.js b/commands/stop.js index f2d3dd6..46b26f4 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -9,7 +9,7 @@ module.exports = { const radio = client.radio.get(msg.guild.id); radio.connection.dispatcher.destroy(); radio.voiceChannel.leave(); - client.radio.delete(guild.id); + client.radio.delete(msg.guild.id); msg.channel.send('<:stop:674685626108477519> Stopped the music!'); } }; \ No newline at end of file