discord.js
Advanced tools
Comparing version 12.0.0 to 12.0.1
{ | ||
"name": "discord.js", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"description": "A powerful library for interacting with the Discord API", | ||
@@ -5,0 +5,0 @@ "main": "./src/index", |
@@ -904,3 +904,3 @@ 'use strict'; | ||
? Number(data.verificationLevel) | ||
: ExplicitContentFilterLevels.indexOf(data.verificationLevel); | ||
: VerificationLevels.indexOf(data.verificationLevel); | ||
} | ||
@@ -907,0 +907,0 @@ if (typeof data.afkChannel !== 'undefined') { |
'use strict'; | ||
const GuildMember = require('./GuildMember'); | ||
const Collection = require('../util/Collection'); | ||
@@ -177,2 +176,3 @@ const { ChannelTypes } = require('../util/Constants'); | ||
if (!ignoreEveryone && this.everyone) return true; | ||
const GuildMember = require('./GuildMember'); | ||
if (!ignoreRoles && data instanceof GuildMember) { | ||
@@ -179,0 +179,0 @@ for (const role of this.roles.values()) if (data.roles.cache.has(role.id)) return true; |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
945916
7