UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

21 lines (20 loc) 608 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 { RexContextMenuInteraction } from "./contextBase.js"; export class RexUserContextmenuInteraction extends RexContextMenuInteraction { constructor(inter, opt) { super(inter, opt); } get targetUser() { return this.inter.targetUser; } get targetMember() { return this.inter.targetMember; } isUserContextMenu() { return true; } }