Merge pull request #1163 from CyberL1/fix/webhooks

fix: add webhook_id to webhook's messages
This commit is contained in:
Puyodead1 2024-08-14 10:52:34 -04:00 committed by GitHub
commit 1f29de1c7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -232,7 +232,7 @@ export class Message extends BaseClass {
...this,
author_id: undefined,
member_id: undefined,
webhook_id: undefined,
webhook_id: this.webhook_id ?? undefined,
application_id: undefined,
nonce: this.nonce ?? undefined,