diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index cdb396c07..088806ca2 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -28,7 +28,7 @@ class Webhook { * The token for the webhook * @type {string} */ - this.token = data.token; + Object.defineProperty(this, 'token', { value: data.token, writable: true, configurable: true }); /** * The avatar for the webhook