mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-22 15:07:15 -05:00
Show platform for inactive presence
This commit is contained in:
parent
9561a9523e
commit
fa82661911
|
|
@ -172,7 +172,8 @@ export function getInactiveDiscordPresence(
|
|||
state: PresenceState, logoutAt: number, context?: DiscordPresenceContext
|
||||
): DiscordPresence {
|
||||
return {
|
||||
id: defaultTitle.client,
|
||||
id: (typeof context?.platform !== 'undefined' && platform_clients[context.platform]) ||
|
||||
defaultTitle.client,
|
||||
title: null,
|
||||
activity: {
|
||||
state: 'Not playing',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user