Discord.js Music Bot in a command handler
问题 I want to make a music bot in my command handler, but I ran into some problems. This is the command handler I use: delete require.cache[require.resolve(`./commands/${command}.js`)]; let commandFile = require(`./commands/${command}.js`); commandFile.run(client, message, args); And in my play.js file I have a queue: var servers = {}; I don't know how to make it so that I can skip a song (using the skip command - skip.js) in the queue. Code for skipping: if (server.dispatcher) server.dispatcher