mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: refactored play command and added common method for getting thumbnail url
This commit is contained in:
1 parent
85e27afc5c
commit
bf30d565d7
7 files changed
+248
-196
No files matched your search
@@ -138,7 +138,7 @@ class QueueCommand extends BaseSlashCommandInteraction {
|
||||
`${repeatModeString}` +
|
||||
`**${this.embedOptions.icons.queue} Tracks in queue**\n${queueString}`
|
||||
)
|
||||
.setThumbnail(currentTrack.thumbnail)
|
||||
.setThumbnail(this.getTrackThumbnailUrl(currentTrack))
|
||||
.setFooter({
|
||||
text: `Page ${pageIndex + 1} of ${totalPages} (${queueLength} tracks)`
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user