mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-04 16:44:49 -05:00
Show images for unknown titles and add Nintendo eShop link in Discord
This commit is contained in:
parent
78e502bca2
commit
5610cf8630
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user