fix: add webhook_id to webhook's messages

This commit is contained in:
Cyber 2024-08-14 10:19:41 +02:00
parent 2f1449e65f
commit e721e7c4ca

View File

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