mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-09-08 19:35:10 -05:00
Show platform for inactive presence
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user