diff --git a/src/config/sourceIcons.js b/src/config/sourceIcons.js index fa72bcd..1455fac 100644 --- a/src/config/sourceIcons.js +++ b/src/config/sourceIcons.js @@ -1,15 +1,16 @@ const sourceIcons = { soundcloud: - "https://commons.wikimedia.org/wiki/Category:Logos_of_SoundCloud#/media/File:Antu_soundcloud.svg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Antu_soundcloud.svg/512px-Antu_soundcloud.svg.png", youtube: - "https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/YouTube_full-color_icon_%282017%29.svg/512px-YouTube_full-color_icon_%282017%29.svg.png", spotify: - "https://upload.wikimedia.org/wikipedia/commons/8/84/Spotify_icon.svg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Spotify_icon.svg/512px-Spotify_icon.svg.png", apple_music: - "https://upload.wikimedia.org/wikipedia/commons/5/59/Apple_Music_Icon.svg", - deezer: "https://upload.wikimedia.org/wikipedia/commons/6/6b/Deezer_Icon.svg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Apple_Music_Icon.svg/512px-Apple_Music_Icon.svg.png", + deezer: + "https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Deezer_Icon.svg/512px-Deezer_Icon.svg.png", tidal: - "https://upload.wikimedia.org/wikipedia/commons/4/41/Tidal_%28service%29_logo_only.svg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Tidal_%28service%29_logo_only.svg/600px-Tidal_%28service%29_logo_only.svg.pnghttps://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Tidal_%28service%29_logo_only.svg/600px-Tidal_%28service%29_logo_only.svg.png", }; export default sourceIcons; diff --git a/src/events/player/audioTracksAdd.js b/src/events/player/audioTracksAdd.js index ded2e28..8cf3c06 100644 --- a/src/events/player/audioTracksAdd.js +++ b/src/events/player/audioTracksAdd.js @@ -9,7 +9,7 @@ export const data = { }; export async function execute(queue) { - if (!queue.size); + if (!queue.size) return; try { const components = [menu(queue), ...buttons(queue)].filter(Boolean); await queue.metadata.message?.edit({ diff --git a/src/modules/playing/embed.js b/src/modules/playing/embed.js index 315d01f..53cf90b 100644 --- a/src/modules/playing/embed.js +++ b/src/modules/playing/embed.js @@ -11,7 +11,7 @@ export default (queue, track) => { }[queue.repeatMode]; const status = `Duration: ${track.duration} | Volume: ${queue.node.volume}% -Repeat: ${repeatMode} | Shuffle: ${queue.isShuffling}`; +Repeat: ${repeatMode} | Shuffle: ${queue.isShuffling ? "✅" : "❎"}`; return BaseEmbed() .setAuthor({