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:
parent
f9dd82f201
commit
6e22687bf6
4 changed files with 131 additions and 82 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue