@wilcosp/rex
Version:
Rex is an automated command manager for discord js
30 lines (29 loc) • 941 B
JavaScript
;
/*!
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.RexModalSubmitInteraction = void 0;
const replyUpdateBase_js_1 = require("../replyUpdateBase.js");
class RexModalSubmitInteraction extends replyUpdateBase_js_1.RexUpdateReplyInteractionBase {
constructor(inter, opt) {
super(inter, opt);
this.inter.isFromMessage();
this.inter.components;
}
isFromMessage() {
return this.inter.isFromMessage();
}
get message() {
return this.inter.message;
}
get components() {
return this.inter.components;
}
get fields() {
return this.inter.fields;
}
}
exports.RexModalSubmitInteraction = RexModalSubmitInteraction;