fix: Small changes to new action buttons

This commit is contained in:
Marius Begby committed 2023-12-12 15:29:01 +01:00
1 parent 5dfe902f9e
commit 981be707f0
5 files changed
+28 -31

No files matched your search

@@ -44,12 +44,12 @@ class NowPlayingCommand extends BaseSlashCommandInteraction {
const displayQueueRepeatMode: string = this.getDisplayQueueRepeatMode(queue);
const displayEmbedProgressBar: string = this.getDisplayQueueProgressBar(queue);
const customId: string = `nowplaying-skip-button_${currentTrack.id}`;
const customId: string = `action-skip-button_${currentTrack.id}`;
logger.debug(`Generated custom id for skip button: ${customId}`);
const skipButton: APIButtonComponent = new ButtonBuilder()
.setCustomId(customId)
.setLabel('Skip track')
.setLabel('Skip')
.setStyle(ButtonStyle.Secondary)
.setEmoji(this.embedOptions.icons.nextTrack)
.toJSON();