feat(presence): feature parity in image resolve

#9638 djs
This commit is contained in:
Elysia 2023-06-15 16:52:10 +07:00
parent aa22ac2990
commit de2bb90893

View File

@ -422,6 +422,8 @@ class RichPresenceAssets {
return `https://media.discordapp.net/${id}`; return `https://media.discordapp.net/${id}`;
case 'spotify': case 'spotify':
return `https://i.scdn.co/image/${id}`; return `https://i.scdn.co/image/${id}`;
case 'youtube':
return `https://i.ytimg.com/vi/${id}/hqdefault_live.jpg`;
case 'twitch': case 'twitch':
return `https://static-cdn.jtvnw.net/previews-ttv/live_user_${id}.png`; return `https://static-cdn.jtvnw.net/previews-ttv/live_user_${id}.png`;
default: default: