⚡ Use track everywhere in the code
This commit is contained in:
@@ -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}**`);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user