From c08042d64f42e73d7e768cdaa6cb8698756fe8bb Mon Sep 17 00:00:00 2001 From: lazuee Date: Fri, 22 Apr 2022 01:55:51 +0800 Subject: [PATCH] Update Webhook.js oof,.. --- src/structures/Webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index 0c201ee..1c9e320 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -212,7 +212,7 @@ class Webhook { query: { thread_id: messagePayload.options.threadId, wait: true }, auth: false, }); - d.webembed = this.client.channels?.cache.get(d.channel_id)?.messages._add(d, false) ?? d; + d.webembed = this.client.channels?.cache.get(_d.channel_id)?.messages._add(_d, false) ?? _d; } return this.client.channels?.cache.get(d.channel_id)?.messages._add(d, false) ?? d;