@duxcore/interactive-discord
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83955
987