capitalize source
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-02-17 20:23:46 +01:00
parent 6b98656a41
commit 729daf4a5b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

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] });