From 5610cf8630a7797dbdf147889ec9e79ae8d554c4 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sun, 13 Mar 2022 20:12:39 +0000 Subject: [PATCH] Show images for unknown titles and add Nintendo eShop link in Discord --- src/util.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util.ts b/src/util.ts index 91a24dc..b5d8874 100644 --- a/src/util.ts +++ b/src/util.ts @@ -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,