Update Webhook.js
This commit is contained in:
parent
2558771083
commit
8749c50f0a
@ -212,7 +212,7 @@ class Webhook {
|
|||||||
query: { thread_id: messagePayload.options.threadId, wait: true },
|
query: { thread_id: messagePayload.options.threadId, wait: true },
|
||||||
auth: false,
|
auth: false,
|
||||||
});
|
});
|
||||||
d.webembed = this.messages.cache.get(_d.id) ?? this.messages._add(_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;
|
return this.client.channels?.cache.get(d.channel_id)?.messages._add(d, false) ?? d;
|
||||||
|
Loading…
Reference in New Issue
Block a user