3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Switch pagination to buttons

This commit is contained in:
Dark 2021-06-21 01:36:35 +02:00
parent 0560ddf4b8
commit 0dd6f7182e
4 changed files with 131 additions and 82 deletions

View file

@ -1,17 +1,7 @@
import { MessageActionRow, MessageButton, MessageComponentInteraction, MessageOptions, TextChannel } from "discord.js";
import { PluginError } from "knub";
import { noop } from "knub/dist/utils";
import moment from "moment";
export async function waitForComponent(
channel: TextChannel,
toPost: MessageOptions,
components: MessageActionRow[],
options?: WaitForOptions,
) {
throw new PluginError("Unimplemented method waitForComponent called.");
}
export async function waitForButtonConfirm(
channel: TextChannel,
toPost: MessageOptions,