UNPKG

seyfert

Version:

The most advanced framework for discord bots

18 lines (17 loc) 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ComponentCommand = exports.InteractionCommandType = void 0; const types_1 = require("../types"); exports.InteractionCommandType = { COMPONENT: 0, MODAL: 1, }; class ComponentCommand { type = exports.InteractionCommandType.COMPONENT; middlewares = []; props; get cType() { return types_1.ComponentType[this.componentType]; } } exports.ComponentCommand = ComponentCommand;