Socket
Socket
Sign inDemoInstall

discord-rpc-contructor

Package Overview
Dependencies
7
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

17

index.d.ts

@@ -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;

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc