mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-29 21:18:17 +03:00
Actually properly use discord rpc
This commit is contained in:
parent
5748cfb5ad
commit
60cdf66a58
1 changed files with 2 additions and 2 deletions
|
@ -105,10 +105,10 @@ export default class Launcher
|
|||
id: '901534333360304168',
|
||||
|
||||
// @ts-expect-error
|
||||
details: 'in-game' ? discord.fields.details : undefined,
|
||||
details: 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'],
|
||||
|
||||
// @ts-expect-error
|
||||
state: discord.fields.states[state],
|
||||
state: 'in-game' ? ddiscord.fields.states['in-game'] : undefined,
|
||||
|
||||
icon: {
|
||||
// @ts-expect-error
|
||||
|
|
Loading…
Reference in a new issue