djs-menu-v13
Version:
A module for create simple and complex menu for your Discord Bot
22 lines (21 loc) • 798 B
TypeScript
import { MessageAttachment, MessageEmbed } from 'discord.js';
import { MenuSelectChoice, SelectChoice } from '..';
export declare class MenuSelectPage {
id: string;
placeholder: string;
options: MenuSelectChoice[];
files: MessageAttachment[];
content: string;
timeout: number;
embeds: MessageEmbed[];
type: string;
constructor();
setId(id: string): MenuSelectPage;
setPlaceholder(placeholder: string): MenuSelectPage;
addEmbed(embed: MessageEmbed): MenuSelectPage;
addOptions(options: SelectChoice[]): MenuSelectPage;
addOption(option: SelectChoice): MenuSelectPage;
setContent(content: string): MenuSelectPage;
setTimeout(timeout: number): MenuSelectPage;
addFile(file: MessageAttachment): MenuSelectPage;
}