zumito-framework 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventParameters } from "../../../types/EventParameters";
|
|
2
|
-
|
|
2
|
+
declare const FrameworkEvent: any;
|
|
3
3
|
export declare abstract class InteractionCreate extends FrameworkEvent {
|
|
4
4
|
once: boolean;
|
|
5
5
|
execute({ interaction, client, framework }: EventParameters): Promise<void>;
|
|
6
6
|
}
|
|
7
|
+
export {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InteractionCreate = void 0;
|
|
4
4
|
const CommandType_1 = require("../../../types/CommandType");
|
|
5
|
-
const
|
|
6
|
-
class InteractionCreate extends
|
|
5
|
+
const FrameworkEvent = require("../../../types/FrameworkEvent");
|
|
6
|
+
class InteractionCreate extends FrameworkEvent {
|
|
7
7
|
once = false;
|
|
8
8
|
async execute({ interaction, client, framework }) {
|
|
9
9
|
if (interaction.isCommand()) {
|