Use track everywhere in the code

This commit is contained in:
Androz2091
2020-06-24 11:00:58 +02:00
parent 838c1d0bdd
commit 3ce8273984
6 changed files with 35 additions and 22 deletions

View File

@@ -4,11 +4,11 @@ module.exports.run = async (client, message) => {
if(!message.member.voice.channel) return message.channel.send(`**You're not in a voice channel ${emotes.error}**`);
const song = await client.player.resume(message.guild.id);
const track = await client.player.resume(message.guild.id);
if(!song) return message.channel.send(`**No songs currently playing ${emotes.error}**`);
if(!track) return message.channel.send(`**No tracks currently playing ${emotes.error}**`);
message.channel.send(`**Song ${song.name} resumed ${emotes.success}**`);
message.channel.send(`**Track ${track.name} resumed ${emotes.success}**`);
};