From 1947c715f5ff846316b2d921b78f1a71a2892d1b Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 5 Mar 2022 15:20:08 -0500 Subject: chore: upgrade deps --- src/lib/common/ButtonPaginator.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/lib/common/ButtonPaginator.ts') diff --git a/src/lib/common/ButtonPaginator.ts b/src/lib/common/ButtonPaginator.ts index 15c07fa..e3d4207 100644 --- a/src/lib/common/ButtonPaginator.ts +++ b/src/lib/common/ButtonPaginator.ts @@ -1,7 +1,14 @@ import { DeleteButton, type BushMessage, type BushSlashMessage } from '#lib'; import { CommandUtil } from 'discord-akairo'; import { APIEmbed } from 'discord-api-types/v9'; -import { ActionRow, ActionRowComponent, ButtonComponent, ButtonStyle, Embed, type MessageComponentInteraction } from 'discord.js'; +import { + ActionRow, + ButtonComponent, + ButtonStyle, + Embed, + type MessageActionRowComponent, + type MessageComponentInteraction +} from 'discord.js'; /** * Sends multiple embeds with controls to switch between them @@ -170,7 +177,7 @@ export class ButtonPaginator { * @param disableAll Whether to disable all buttons * @returns The generated {@link ActionRow} */ - protected getPaginationRow(disableAll = false): ActionRow { + protected getPaginationRow(disableAll = false): ActionRow { return new ActionRow().addComponents( new ButtonComponent({ style: ButtonStyle.Primary, -- cgit