feat(RichPresence): Support RPC Discord Apps (IPC) [2]
This commit is contained in:
parent
7e44c3ff82
commit
4710329beb
File diff suppressed because one or more lines are too long
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@ -183,7 +183,7 @@ export interface RichButton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export abstract class RichPresence {
|
export abstract class RichPresence {
|
||||||
public constructor(client?: Client, data?: object);
|
public constructor(client?: Client, data?: object, IPC?: boolean);
|
||||||
public application_id: Snowflake | null;
|
public application_id: Snowflake | null;
|
||||||
public assets: RichPresenceAssets | null;
|
public assets: RichPresenceAssets | null;
|
||||||
public buttons: string[];
|
public buttons: string[];
|
||||||
@ -200,6 +200,7 @@ export abstract class RichPresence {
|
|||||||
} | null;
|
} | null;
|
||||||
public type: ActivityType;
|
public type: ActivityType;
|
||||||
public url: string | null;
|
public url: string | null;
|
||||||
|
public ipc: boolean;
|
||||||
public setAssetsLargeImage(image?: any): this;
|
public setAssetsLargeImage(image?: any): this;
|
||||||
public setAssetsLargeText(text?: string): this;
|
public setAssetsLargeText(text?: string): this;
|
||||||
public setAssetsSmallImage(image?: any): this;
|
public setAssetsSmallImage(image?: any): this;
|
||||||
|
Loading…
Reference in New Issue
Block a user