@wilcosp/rex
Version:
Rex is an automated command manager for discord js
22 lines (21 loc) • 756 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.RexMessageContextmenuInteraction = void 0;
const contextBase_js_1 = require("./contextBase.js");
class RexMessageContextmenuInteraction extends contextBase_js_1.RexContextMenuInteraction {
constructor(inter, opt) {
super(inter, opt);
}
get targetMessage() {
return this.inter.targetMessage;
}
isMessageContextMenu() {
return true;
}
}
exports.RexMessageContextmenuInteraction = RexMessageContextmenuInteraction;