const {SlashCommandBuilder} = require("@discordjs/builders"); const { MessageEmbed } = require("discord.js"); module.exports = { data: new SlashCommandBuilder() .setName("resume") .setDescription("Resumes the current tune."), execute: async ({client, interaction}) => { // Get the queue for the server const queue = client.player.getQueue(interaction.guild); // If there is no queue, return if (!queue){ await interaction.reply("There are no tunes in the queue."); return; } // Resumes the current song queue.setPaused(false); await interaction.reply("Resumed playing."); } }