mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-20 20:54:47 +12:00
feat(presence): feature parity in image resolve (#9638)
* PR: !9637 for v14
This commit is contained in:
parent
4c072048be
commit
85338ef073
1 changed files with 2 additions and 0 deletions
|
@ -401,6 +401,8 @@ class RichPresenceAssets {
|
|||
return `https://media.discordapp.net/${id}`;
|
||||
case 'spotify':
|
||||
return `https://i.scdn.co/image/${id}`;
|
||||
case 'youtube':
|
||||
return `https://i.ytimg.com/vi/${id}/hqdefault_live.jpg`;
|
||||
case 'twitch':
|
||||
return `https://static-cdn.jtvnw.net/previews-ttv/live_user_${id}.png`;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue