diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index cdb396c0..088806ca 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