mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-23 18:20:19 +03:00
Change types
This commit is contained in:
parent
bbcddd099b
commit
21ad52904c
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import discordRpc, { Client } from 'discord-rpc';
|
||||
import discordRpc, { Client, Presence } from 'discord-rpc';
|
||||
|
||||
export class DiscordRPC
|
||||
{
|
||||
|
@ -22,7 +22,7 @@ export class DiscordRPC
|
|||
});
|
||||
}
|
||||
|
||||
public static setActivity (activity: any): void
|
||||
public static setActivity (activity: Presence): void
|
||||
{
|
||||
this.rpc.setActivity({
|
||||
...activity,
|
||||
|
|
Loading…
Reference in a new issue