diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index cb541b209ce1..123411278c44 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -415,7 +415,7 @@ class Webhook { * @returns {boolean} */ isChannelFollower() { - return this.type === WebhookTypes['Channel Follower']; + return this.type === 'Channel Follower'; } /** @@ -423,7 +423,7 @@ class Webhook { * @returns {boolean} */ isIncoming() { - return this.type === WebhookTypes.Incoming; + return this.type === 'Incoming'; } static applyToClass(structure, ignore = []) {