@wilcosp/rex
Version:
Rex is an automated command manager for discord js
26 lines (25 loc) • 751 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/.
*/
import { RexUpdateReplyInteractionBase } from "../replyUpdateBase.js";
export class RexModalSubmitInteraction extends 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;
}
}