mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
fix(guild): VerificationLevels (#3873)
This commit is contained in:
parent
cd746f3069
commit
66e625c4c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue