From 67a30603190116ef13114a91b1491314e64a38d1 Mon Sep 17 00:00:00 2001 From: ZenShibata Date: Sat, 27 Aug 2022 07:56:08 +0700 Subject: [PATCH] fix: ref to discord-api-types --- package-lock.json | 2 +- .../command-context/src/lib/Structures/MessageCommandContext.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 17a08a9..36b2d65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8883,7 +8883,7 @@ "@sapphire/prettier-config": "1.4.4", "@typescript-eslint/eslint-plugin": "^5.35.1", "@typescript-eslint/parser": "^5.35.1", - "discord.js": "13.10.3", + "discord.js": "^13.10.3", "eslint": "8.22.0", "gen-esm-wrapper": "^1.1.3", "pino": "^8.1.0", diff --git a/packages/command-context/src/lib/Structures/MessageCommandContext.ts b/packages/command-context/src/lib/Structures/MessageCommandContext.ts index 3aa6a0e..aa26a71 100644 --- a/packages/command-context/src/lib/Structures/MessageCommandContext.ts +++ b/packages/command-context/src/lib/Structures/MessageCommandContext.ts @@ -42,7 +42,7 @@ export class MessageCommandContext extends Com return this.data.context.embeds; } - public components() { + public components(): Message["components"] { return this.data.context.components; }