UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

18 lines (17 loc) 549 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 RexMessageContextmenuInteraction extends RexContextMenuInteraction { constructor(inter, opt) { super(inter, opt); } get targetMessage() { return this.inter.targetMessage; } isMessageContextMenu() { return true; } }