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

@duxcore/interactive-discord

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

@duxcore/interactive-discord - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json

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

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

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

import { InteractiveClient } from "./InteractiveClient";
import { ButtonComponent } from "./structures/buttons/ButtonComponent";
import { SelectionComponent } from "./structures/selections/SelectionComponent";
import { LinkButtonComponent } from "./structures/buttons/LinkButtonComponent";
import { ComponentActionRow } from "./structures/ComponentActionRow";
import { ComponentCluster } from "./structures/ComponentCluster";
import { ButtonStyle, ComponentType } from "./util/types/components";
export default InteractiveClient
export { ButtonComponent } from "./structures/buttons/ButtonComponent";
export { SelectionComponent } from "./structures/selections/SelectionComponent";
export { LinkButtonComponent } from "./structures/buttons/LinkButtonComponent";
export { ComponentActionRow } from "./structures/ComponentActionRow";
export { ComponentCluster } from "./structures/ComponentCluster";
export { ButtonStyle, ComponentType } from "./util/types/components";
export { SlashCommand } from './structures/SlashCommand';
export {
ButtonComponent,
ComponentActionRow,
LinkButtonComponent,
ComponentCluster,
ComponentType,
ButtonStyle,
SelectionComponent
}
export default InteractiveClient;

@@ -8,3 +8,2 @@ import { APIMessageContentResolvable, Client, Collection, DMChannel, MessageAdditions, MessageOptions, NewsChannel, TextChannel } from "discord.js";

import { ButtonComponent } from "./structures/buttons/ButtonComponent";
import { ComponentCluster } from "./structures/ComponentCluster";
import { getChannelPerms } from "./util/channel";

@@ -25,3 +24,3 @@ import compileComponents from "./util/compileComponents";

public commands = new Commands(this);
public commands: Commands;

@@ -31,2 +30,5 @@ constructor(bot: Client) {

this.bot = bot;
this.commands = new Commands(this);
// @ts-ignore

@@ -54,4 +56,2 @@ bot.ws.on("INTERACTION_CREATE", (interaction: RawInteractionObject) => {

})
this.bot = bot;
}

@@ -58,0 +58,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