New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ic4d

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ic4d - npm Package Compare versions

Comparing version 2.5.0-dev.2 to 2.5.0-dev.3

dist/handler/builders/ContextMenuBuilder.d.ts

1

dist/handler/builders/builders.d.ts
export type InteractionType = "selectMenu" | "modal" | "button";
export * from "./InteractionBuilder";
export * from "./SlashCommandManager";
export * from "./ContextMenuBuilder";

@@ -19,2 +19,3 @@ "use strict";

__exportStar(require("./SlashCommandManager"), exports);
__exportStar(require("./ContextMenuBuilder"), exports);
//# sourceMappingURL=builders.js.map

6

dist/handler/builders/InteractionBuilder.d.ts
import { Interaction, Client, AnySelectMenuInteraction, ButtonInteraction, ModalSubmitInteraction } from "discord.js";
import { InteractionType } from "./builders";
type InteractionTypeMap<U extends string> = U extends "modal" ? ModalSubmitInteraction : U extends "selectMenu" ? AnySelectMenuInteraction : U extends "button" ? ButtonInteraction : never;
export type InteractionTypeMap<U extends string> = U extends "modal" ? ModalSubmitInteraction : U extends "selectMenu" ? AnySelectMenuInteraction : U extends "button" ? ButtonInteraction : never;
/**
* @class
* Represents an interaction object.
* Represents an interaction object. (DOES NOT INCLUDE CONTEXT MENUS)
*/

@@ -42,3 +42,2 @@ export declare class InteractionBuilder {

* Build the actual interaction
* @param intObject Interaction Object (see github) with properties
*/

@@ -151,2 +150,1 @@ constructor();

}
export {};

@@ -6,3 +6,3 @@ "use strict";

* @class
* Represents an interaction object.
* Represents an interaction object. (DOES NOT INCLUDE CONTEXT MENUS)
*/

@@ -12,3 +12,2 @@ class InteractionBuilder {

* Build the actual interaction
* @param intObject Interaction Object (see github) with properties
*/

@@ -15,0 +14,0 @@ constructor() {

@@ -40,2 +40,3 @@ "use strict";

let msg = `Error running function ${this.functionsToRun.indexOf(fn)} ${clc.underline.italic(str[str.length - 1] != "}" ? str + " ...}" : str)} \n\n` + error;
console.error(error);
if (this.emitErr) {

@@ -42,0 +43,0 @@ this.emit("error", msg);

{
"name": "ic4d",
"version": "2.5.0-dev.2",
"version": "2.5.0-dev.3",
"description": "Discord.js Interaction and Command handler 4 Dummies",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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