UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

19 lines (18 loc) 700 B
/*! * 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 { RexReplyModalInteractionBase } from "./replyModalBase.js"; import { RexSlashInteractionOptionsResolver } from "./slashCommands/optionsResolver.js"; export class RexReplyOptionsInteractionBase extends RexReplyModalInteractionBase { constructor(inter, opt) { super(inter, opt); } get options() { if (!this._options) { this._options = new RexSlashInteractionOptionsResolver(this.inter.options); } return this._options; } }