From 66e625c4c0c8c35f6d0891543af2ae68f0839a7b Mon Sep 17 00:00:00 2001 From: Jisagi Date: Sun, 1 Mar 2020 21:28:03 +0100 Subject: [PATCH] fix(guild): VerificationLevels (#3873) --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index ece8a530c..47ffbde8a 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -901,7 +901,7 @@ class Guild extends Base { _data.verification_level = typeof data.verificationLevel === 'number' ? Number(data.verificationLevel) - : ExplicitContentFilterLevels.indexOf(data.verificationLevel); + : VerificationLevels.indexOf(data.verificationLevel); } if (typeof data.afkChannel !== 'undefined') { _data.afk_channel_id = this.client.channels.resolveID(data.afkChannel);