mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix: Small changes to new action buttons
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user