From 1ea9a2d6514df9f2f82da66a5132bed5480facbc Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 12 Mar 2023 11:18:07 +0700 Subject: [PATCH] fix(ThreadChannel): fetch starter message properly #9217 djs --- src/structures/ThreadChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ThreadChannel.js b/src/structures/ThreadChannel.js index cc53c5e..6b57223 100644 --- a/src/structures/ThreadChannel.js +++ b/src/structures/ThreadChannel.js @@ -326,7 +326,7 @@ class ThreadChannel extends Channel { // eslint-disable-next-line require-await async fetchStarterMessage(options) { const channel = this.parent?.type === 'GUILD_FORUM' ? this : this.parent; - return channel?.messages.fetch({ message: this.id, ...options }) ?? null; + return channel?.messages.fetch(this.id, options) ?? null; } /**