@wilcosp/rex
Version:
Rex is an automated command manager for discord js
21 lines (20 loc) • 932 B
TypeScript
import { APIMentionableSelectComponent } from "discord-api-types/v10";
import { MentionableSelectMenuInteraction } from "discord.js";
import { RexMentionSelectMenuInteraction } from "../interactions/components/mentionSelectMenu.js";
import { RexSelectMenuBase } from "./selectMenuBase.js";
export declare class RexMentionSelectMenuComponent extends RexSelectMenuBase<APIMentionableSelectComponent, RexMentionSelectMenuInteraction, MentionableSelectMenuInteraction> {
/**
* 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<APIMentionableSelectComponent, "type">);
/**
* @ignore internal only
*/
run(inter: MentionableSelectMenuInteraction): unknown;
}