3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00

Switch pagination to buttons

This commit is contained in:
Dark 2021-06-21 01:36:35 +02:00
parent f9dd82f201
commit 6e22687bf6
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8
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,