UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

25 lines (24 loc) 794 B
"use strict"; /*! * 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.RexContextMenuInteraction = void 0; const replyOptionsBase_js_1 = require("../replyOptionsBase.js"); class RexContextMenuInteraction extends replyOptionsBase_js_1.RexReplyOptionsInteractionBase { constructor(inter, opt) { super(inter, opt); } isMessageContextMenu() { return false; } isUserContextMenu() { return false; } get targetId() { return this.inter.targetId; } } exports.RexContextMenuInteraction = RexContextMenuInteraction;