add Authors in nowplaying, queue, trackstart event
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
1e46327f10
commit
48c0897e6f
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ export default {
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`${queue.createProgressBar()}\n\n${loc.get("c_play8")} ${track.requestedBy}`
|
`${queue.createProgressBar()}\n\n${loc.get("c_play8")} ${track.requestedBy}`
|
||||||
)
|
)
|
||||||
.setTitle(track.title)
|
.setTitle(track.title + " • " + track.author)
|
||||||
.setURL(track.url)
|
.setURL(track.url)
|
||||||
.setThumbnail(track.thumbnail)
|
.setThumbnail(track.thumbnail)
|
||||||
.setFooter({ text: loc.get("c_play7") })
|
.setFooter({ text: loc.get("c_play7") })
|
||||||
|
|
|
@ -10,7 +10,7 @@ export default (queue: Queue<Metadata>, track: Track, client: Client) => {
|
||||||
|
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setDescription(`${loc_default?.get("e_trackstart1")} ${track.requestedBy}`)
|
.setDescription(`${loc_default?.get("e_trackstart1")} ${track.requestedBy}`)
|
||||||
.setTitle(track.title)
|
.setTitle(track.title + " • " + track.author)
|
||||||
.setURL(track.url)
|
.setURL(track.url)
|
||||||
.setThumbnail(track.thumbnail)
|
.setThumbnail(track.thumbnail)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
|
|
|
@ -29,7 +29,7 @@ export const embedListQueue = (
|
||||||
const idx_track = idx == 0 ? "" : `${idx * page}. `;
|
const idx_track = idx == 0 ? "" : `${idx * page}. `;
|
||||||
embed.addFields({
|
embed.addFields({
|
||||||
name,
|
name,
|
||||||
value: `${idx_track}[${t.title}](${t.url}) (${t.duration})`,
|
value: `${idx_track}[${t.title} • ${t.author}](${t.url}) (${t.duration})`,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue