diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-05 15:20:08 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-05 15:20:08 -0500 |
commit | 1947c715f5ff846316b2d921b78f1a71a2892d1b (patch) | |
tree | f6bdc2d28537fd63f7e8c26db1cb4928cb9c9f13 /src/commands/dev | |
parent | 3c56bbcf795725b65192409b3211d92c097f8c82 (diff) | |
download | tanzanite-1947c715f5ff846316b2d921b78f1a71a2892d1b.tar.gz tanzanite-1947c715f5ff846316b2d921b78f1a71a2892d1b.tar.bz2 tanzanite-1947c715f5ff846316b2d921b78f1a71a2892d1b.zip |
chore: upgrade deps
Diffstat (limited to 'src/commands/dev')
-rw-r--r-- | src/commands/dev/test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts index cca40a6..3f9cd80 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -2,13 +2,13 @@ import { BushCommand, ButtonPaginator, Shared, type BushMessage } from '#lib'; import { Routes } from 'discord-api-types/rest/v9'; import { ActionRow, - ActionRowComponent, ButtonComponent, ButtonStyle, Embed, GatewayDispatchEvents, type ApplicationCommand, - type Collection + type Collection, + type MessageActionRowComponent } from 'discord.js'; import badLinksSecretArray from '../../lib/badlinks-secret.js'; import badLinksArray from '../../lib/badlinks.js'; @@ -81,7 +81,7 @@ export default class TestCommand extends BushCommand { ); return await message.util.reply({ content: 'Test', embeds: [embed], components: [buttonRow] }); } else if (['lots of buttons'].includes(args?.feature?.toLowerCase())) { - const ButtonRows: ActionRow<ActionRowComponent>[] = []; + const ButtonRows: ActionRow<MessageActionRowComponent>[] = []; for (let a = 1; a <= 5; a++) { const row = new ActionRow(); for (let b = 1; b <= 5; b++) { @@ -113,7 +113,7 @@ export default class TestCommand extends BushCommand { const embeds = colors.map((c, i) => ({ ...o, title: `Embed Title ${i}`, color: c })); - const ButtonRows: ActionRow<ActionRowComponent>[] = []; + const ButtonRows: ActionRow<MessageActionRowComponent>[] = []; for (let a = 1; a <= 5; a++) { const row = new ActionRow(); for (let b = 1; b <= 5; b++) { |