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;