UNPKG

seyfert

Version:

The most advanced framework for discord bots

20 lines (19 loc) 561 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModalCommand = void 0; const componentcommand_1 = require("./componentcommand"); class ModalCommand { type = componentcommand_1.InteractionCommandType.MODAL; customId; /** @internal */ _filter(context) { if (this.customId && this.customId !== context.customId) return false; if (this.filter) return this.filter(context); return true; } middlewares = []; props; } exports.ModalCommand = ModalCommand;