You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
613 B
15 lines
613 B
import { TextChannel, Message, MessageEmbed, Client } from 'discord.js';
|
|
export declare class Pagination {
|
|
channel: TextChannel;
|
|
message: Message;
|
|
pages: MessageEmbed[];
|
|
originalMessage: Message;
|
|
currentPage: number;
|
|
client: Client;
|
|
constructor(channel: TextChannel, pages: MessageEmbed[], originalMessage: Message, client: Client, message?: Message);
|
|
setPage(page: number): Promise<Pagination>;
|
|
nextPage(): Promise<Pagination>;
|
|
prevPage(): Promise<Pagination>;
|
|
addPage(page: MessageEmbed): Pagination;
|
|
replacePage(index: number, page: MessageEmbed): Pagination;
|
|
}
|
|
|