mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +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',
|
id: '901534333360304168',
|
||||||
|
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
details: 'in-game' ? discord.fields.details : undefined,
|
details: 'in-game' ? discord.fields.details : discord.fields.states['in-launcher'],
|
||||||
|
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
state: discord.fields.states[state],
|
state: 'in-game' ? ddiscord.fields.states['in-game'] : undefined,
|
||||||
|
|
||||||
icon: {
|
icon: {
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
|
|
Loading…
Reference in a new issue