1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/commands/np.js

11 lines
361 B
JavaScript
Raw Normal View History

2019-08-02 08:32:00 +00:00
module.exports = {
name: 'np',
description: 'Now playing command.',
cooldown: 5,
execute(message, args, client, RichEmbed) {
const serverQueue = client.queue.get(message.guild.id);
if (!serverQueue) return message.channel.send(':x: There is nothing playing.');
return message.channel.send(`🎶 Now playing: **${serverQueue.songs[0].title}**`);
}
};