feat: Better message in music category #74

Merged
Anri merged 11 commits from prettify-music into main 2023-02-17 23:06:19 +01:00
Showing only changes of commit 729daf4a5b - Show all commits

View file

@ -14,7 +14,9 @@ export default (queue: Queue<Metadata>, track: Track, client: Client) => {
.setURL(track.url) .setURL(track.url)
.setThumbnail(track.thumbnail) .setThumbnail(track.thumbnail)
.setFooter({ .setFooter({
text: `${loc_default?.get("e_trackstart2")} ${track.duration} via ${track.source}`, text: `${loc_default?.get("e_trackstart2")} ${
track.duration
} via ${track.source.capitalize()}`,
iconURL: emojiPng("🎶"), iconURL: emojiPng("🎶"),
}); });
queue.metadata?.channel?.send({ embeds: [embed] }); queue.metadata?.channel?.send({ embeds: [embed] });