@wilcosp/rex
Version:
Rex is an automated command manager for discord js
21 lines (20 loc) • 878 B
TypeScript
import { APIUserSelectComponent } from "discord-api-types/v10";
import { UserSelectMenuInteraction } from "discord.js";
import { RexUserSelectMenuInteraction } from "../interactions/components/userSelectMenu.js";
import { RexSelectMenuBase } from "./selectMenuBase.js";
export declare class RexUserSelectMenuComponent extends RexSelectMenuBase<APIUserSelectComponent, RexUserSelectMenuInteraction, UserSelectMenuInteraction> {
/**
* Create a user select menu with only the custom id
* @param customId the custom id
*/
constructor(customId: string);
/**
* Create a user select menu with raw role select menu data (custom id required)
* @param data raw role select menu data
*/
constructor(data: Omit<APIUserSelectComponent, "type">);
/**
* @ignore internal only
*/
run(inter: UserSelectMenuInteraction): unknown;
}