Skip to content

Commit

Permalink
fix(guild): VerificationLevels (#3873)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisagi committed Mar 1, 2020
1 parent cd746f3 commit 66e625c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 66e625c

Please sign in to comment.