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

Update DJS

This commit is contained in:
Dark 2021-07-04 17:41:44 +02:00
parent ac619ec00f
commit 5e73d380c5
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8
23 changed files with 71 additions and 56 deletions

View file

@ -1,9 +1,18 @@
import { Client, Message, MessageOptions, MessageReaction, PartialUser, TextChannel, User } from "discord.js";
import {
Client,
Message,
MessageEditOptions,
MessageOptions,
MessageReaction,
PartialUser,
TextChannel,
User,
} from "discord.js";
import { Awaitable } from "knub/dist/utils";
import { MINUTES, noop } from "../utils";
import Timeout = NodeJS.Timeout;
export type LoadPageFn = (page: number) => Awaitable<MessageOptions>;
export type LoadPageFn = (page: number) => Awaitable<MessageOptions & MessageEditOptions>;
export interface PaginateMessageOpts {
timeout: number;