Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@duxcore/interactive-discord

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@duxcore/interactive-discord - npm Package Compare versions

Comparing version 1.4.8 to 1.4.9

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A package that will allow you to seamlessly integrate discord interactions into your bot.",
"version": "1.4.8",
"version": "1.4.9",
"license": "GPL-3.0",

@@ -8,0 +8,0 @@ "main": "lib/index",

import InteractiveClient from "..";
import { RawInteractionObject } from "../util/types/interactions";
import { OptionsEntity, RawInteractionObject } from "../util/types/interactions";
import { InteractionControllerBase } from "./InteractionControllerBase";

@@ -7,6 +7,9 @@

private _name: string;
private _options?: OptionsEntity[] | null | undefined;
constructor(raw: RawInteractionObject, client: InteractiveClient) {
super(raw, client);
this._name = raw.data.name || "";
this._options = raw.data.options;
}

@@ -17,2 +20,6 @@

}
get options(): OptionsEntity[] | null | undefined {
return this._options;
}
}

@@ -84,2 +84,3 @@ import { MessageEmbed } from "discord.js";

name: string;
options?: OptionsEntity[]
}

@@ -86,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc