mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
fix: Support custom emojis in config for liveTrack icon
This commit is contained in:
1 parent
0111d3af37
commit
97ffa12703
6 files changed
+9
-9
No files matched your search
@@ -98,7 +98,7 @@ module.exports = {
|
||||
track.raw.duration === 0 || track.duration === '0:00' ? '' : `\`${track.duration}\``;
|
||||
|
||||
if (track.raw.live) {
|
||||
durationFormat = `\`${embedOptions.icons.liveTrack} LIVE\``;
|
||||
durationFormat = `${embedOptions.icons.liveTrack} \`LIVE\``;
|
||||
}
|
||||
|
||||
return `**${pageIndex * 10 + index + 1}.** **${durationFormat} [${track.title}](${track.url})**`;
|
||||
@@ -162,7 +162,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
if (currentTrack.raw.live) {
|
||||
bar = `**\`${embedOptions.icons.liveTrack} LIVE\`** - Playing continuously from live source.`;
|
||||
bar = `${embedOptions.icons.liveTrack} **\`LIVE\`** - Playing continuously from live source.`;
|
||||
}
|
||||
|
||||
logger.debug(
|
||||
|
||||
Reference in new issue
Block a user