mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(guild): VerificationLevels (#3873)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user