@wilcosp/rex
Version:
Rex is an automated command manager for discord js
12 lines (11 loc) • 438 B
JavaScript
import { ComponentType } from "discord-api-types/v10";
import { RexUserSelectMenuInteraction } from "../interactions/components/userSelectMenu.js";
import { RexSelectMenuBase } from "./selectMenuBase.js";
export class RexUserSelectMenuComponent extends RexSelectMenuBase {
constructor(data) {
super(data, ComponentType.UserSelect);
}
run(inter) {
return super.run(inter, RexUserSelectMenuInteraction);
}
}