diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index 5ce1e76d9..8936f1d2e 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -35,7 +35,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