hennus-api
Version:
Esta es una libreria para el bot Hennus
19 lines (18 loc) • 550 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InteractionModal = void 0;
const interaction_1 = require("../base/interaction");
class InteractionModal extends interaction_1.BasedInteraction {
constructor(data, client) {
super(data, client);
this.modaldata = data.data;
this.customId = data.data.custom_id;
}
;
get components() {
return this.modaldata.components.map((x) => { return x.components[0]; });
}
;
}
exports.InteractionModal = InteractionModal;
;