1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 12:36:01 +00:00

editing console logs

This commit is contained in:
MatteZ02
2019-10-12 13:34:38 +03:00
parent 81f317105b
commit 59b578c5a5
2 changed files with 7 additions and 6 deletions

View File

@ -18,6 +18,7 @@ module.exports = {
console.log("no serverQueue")
if (!voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in a voice channel to play music!');
} else {
console.log("serverQueue")
if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voiceChannel as Musix to play music!');
}
if (!args[1]) return message.channel.send(':x: You need to use a link or search for a song!');