From d61bbe82936cffe60375436952218775ec1c4506 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 30 May 2021 01:44:09 +0200 Subject: :sparkles: message attachments --- src/util/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/Message.ts') diff --git a/src/util/Message.ts b/src/util/Message.ts index 27796997..9b928031 100644 --- a/src/util/Message.ts +++ b/src/util/Message.ts @@ -50,7 +50,7 @@ export async function handleMessage(opts: Partial) { mention_channels_ids: [], mention_role_ids: [], mention_user_ids: [], - attachments: [], // TODO: message attachments + attachments: opts.attachments || [], // TODO: message attachments embeds: opts.embeds || [], reactions: opts.reactions || [], type: opts.type ?? 0 -- cgit 1.5.1