From d2119299fa59316140bf43f08451cf1d625b8a50 Mon Sep 17 00:00:00 2001 From: PandaNinjas Date: Tue, 17 Jan 2023 02:38:36 +0000 Subject: [PATCH] Import the message type as a type Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Signed-off-by: PandaNinjas --- src/utils/resolveMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/resolveMessage.ts b/src/utils/resolveMessage.ts index 9776f4e..96f43f4 100644 --- a/src/utils/resolveMessage.ts +++ b/src/utils/resolveMessage.ts @@ -1,4 +1,4 @@ -import { Colors, EmbedBuilder, Message, ThreadChannel } from "discord.js"; +import { Colors, EmbedBuilder, type Message, ThreadChannel } from "discord.js"; function findFirstImage(message: Message): string | undefined { const result = message.attachments.find((attach) => {