UNPKG

@wilcosp/rex

Version:

Rex is an automated command manager for discord js

21 lines (20 loc) 874 B
import { APIRoleSelectComponent } from "discord-api-types/v10"; import { RexSelectMenuBase } from "./selectMenuBase.js"; import { RexRoleSelectMenuInteraction } from "../interactions/components/roleSelectMenu.js"; import { RoleSelectMenuInteraction } from "discord.js"; export declare class RexRoleSelectComponent extends RexSelectMenuBase<APIRoleSelectComponent, RexRoleSelectMenuInteraction, RoleSelectMenuInteraction> { /** * Create a role select menu with only the custom id * @param customId the custom id */ constructor(customId: string); /** * Create a role select menu with raw role select menu data (custom id required) * @param data raw role select menu data */ constructor(data: Omit<APIRoleSelectComponent, "type">); /** * @ignore internal only */ run(inter: RoleSelectMenuInteraction): unknown; }