Import the message type as a type
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Signed-off-by: PandaNinjas <admin@malwarefight.gq>
This commit is contained in:
parent
73676c28f4
commit
d2119299fa
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
function findFirstImage(message: Message): string | undefined {
|
||||||
const result = message.attachments.find((attach) => {
|
const result = message.attachments.find((attach) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue