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

One letter commands

This commit is contained in:
MatteZ02
2019-08-02 15:14:45 +03:00
parent e6c55a6fd8
commit fd1d99fbfb
5 changed files with 123 additions and 4 deletions

10
commands/nowplaying.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
name: 'nowplaying',
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}**`);
}
};