UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

21 lines (20 loc) 603 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 { RexReplyOptionsInteractionBase } from "../replyOptionsBase.js"; export class RexContextMenuInteraction extends RexReplyOptionsInteractionBase { constructor(inter, opt) { super(inter, opt); } isMessageContextMenu() { return false; } isUserContextMenu() { return false; } get targetId() { return this.inter.targetId; } }