Skip to content

Commit

Permalink
refactor: remove undocumented checks (discordjs#7637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Mar 24, 2022
1 parent 4d2b559 commit 9a6e691
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/discord.js/src/structures/Presence.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,6 @@ class RichPresenceAssets {
switch (platform) {
case 'mp':
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:
return null;
}
Expand Down

0 comments on commit 9a6e691

Please sign in to comment.