button to go on with the song

Hello, I would need to implement the button to go on with the song but I would not know how to do it and I'm here to ask you if you can give me some help, this is the code I use if (message.content.startsWith("-play") message.content.startsWith("-start") message.content.startsWith("-P")) { const voiceChannel = message.member.voice.channel if (!voiceChannel) { return message.channel.send("You must be in a voice channel to run this commandYou must be in a voice channel to run this command") } const voiceChannelBot = message.guild.channels.cache.find(x => x.type == "GUILD_VOICE" && x.members.has(client.user.id)) if (voiceChannelBot && voiceChannel.id != voiceChannelBot.id) { return message.channel.send("This bot is already in use in another chat") } let args = message.content.split(/\s+/) let query = args.slice(1).join(" ") if (!query) { return message.channel.send("Enter the song you want to listen to") } distube.play(voiceChannelBot || voiceChannel, query, { member: message.member, textChannel: message.channel, message: message }) }
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
yuyaaici_YT
yuyaaici_YT2y ago
One button to jump to the next song