Enabled prev & next buttons in play command

This commit is contained in:
Christer Warén 2021-09-05 02:13:18 +03:00
parent 1e24e89568
commit 2857b6886f

View File

@ -240,7 +240,6 @@ async function play(interaction, guild, client, url, Discord) {
.setCustomId('prev') .setCustomId('prev')
.setEmoji(client.messageEmojis["prev"]) .setEmoji(client.messageEmojis["prev"])
.setStyle('SECONDARY') .setStyle('SECONDARY')
.setDisabled(true)
) )
.addComponents( .addComponents(
new Discord.MessageButton() new Discord.MessageButton()
@ -253,7 +252,6 @@ async function play(interaction, guild, client, url, Discord) {
.setCustomId('next') .setCustomId('next')
.setEmoji(client.messageEmojis["next"]) .setEmoji(client.messageEmojis["next"])
.setStyle('SECONDARY') .setStyle('SECONDARY')
.setDisabled(true)
) )
.addComponents( .addComponents(
new Discord.MessageButton() new Discord.MessageButton()