diff --git a/src/Player.js b/src/Player.js index 538e9ce..976cfaa 100644 --- a/src/Player.js +++ b/src/Player.js @@ -285,24 +285,6 @@ class Player { }) } - /** - * Set the queue for a guild. - * @param {Discord.Snowflake} guildID The ID of the guild where the queue should be set - * @param {Track[]} tracks The tracks list - * @returns {Promise} The new queue - */ - setQueue (guildID, tracks) { - return new Promise((resolve, reject) => { - // Get guild queue - const queue = this.queues.find((g) => g.guildID === guildID) - if (!queue) return reject(new Error('Not playing')) - // Update queue - queue.tracks = tracks - // Resolve the queue - resolve(queue) - }) - } - /** * Clear the guild queue, except the current track * @param {Discord.Snowflake} guildID The ID of the guild where the queue should be cleared