const { skipTrack } = require('../utils/queueManager'); module.exports = { name: 'skip', execute(message) { const guildId = message.guild.id; const voiceChannel = message.member.voice.channel; if (!voiceChannel) { return message.reply('You need to be in a voice channel to skip music!'); } skipTrack(guildId, voiceChannel); message.channel.send('Skipped the current track!'); } };