Show images for unknown titles and add Nintendo eShop link in Discord

This commit is contained in:
Samuel Elliott 2022-03-13 20:12:39 +00:00
parent 78e502bca2
commit 5610cf8630
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -107,8 +107,6 @@ export function getDiscordPresence(game: Game, friendcode?: CurrentUser['links']
(minutes ? ', ' + minutes + ' minute' + (minutes === 1 ? '' : 's'): '') +
' since ' + new Date(game.firstPlayedAt * 1000).toLocaleDateString('en-GB'));
if (friendcode && !title.largeImageKey) text.push('SW-' + friendcode.id);
return {
id: title.client || defaultTitle.client,
title: titleid,