discord-rpc-contructor
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -31,5 +31,22 @@ declare class RpcError extends Error { | ||
setState(state: string | null): this; | ||
/** | ||
* !!! NOT WORKING !!! | ||
* @param button Button to set [Max: 2, not working] | ||
* [ | ||
* { label: 'hello', url: 'https://google.com' }, | ||
* { label: 'hello2', url: 'https://google.com.vn' }, | ||
* ] | ||
*/ | ||
setButton(button: Array | null): this; | ||
setSyncId(sync_id: string | null): this; | ||
setId(id: string | null): this; | ||
setSessionId(session_id: string | null): this; | ||
/** | ||
* // Set party | ||
* @param party | ||
* { | ||
* size: [1, 5], | ||
* id: RPC.uuid(), | ||
* } | ||
*/ | ||
setParty(party: discordPresence["party"]): this; | ||
@@ -36,0 +53,0 @@ setFlags(flags: number | null): this; |
{ | ||
"name": "discord-rpc-contructor", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Create Discord RPC for SelfBot", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
104656
2115