Comparing version 4.17.6 to 4.17.7
@@ -125,3 +125,3 @@ /** @format */ | ||
const missing = []; | ||
userPermissions.map((permission) => (event.guild?.members.me?.permissionsIn(event.channel?.id).has(Style.pascalCase(permission, true)) ? null : missing.push(permission))); | ||
userPermissions.map((permission) => ((event.member?.permissions).toArray().includes(Style.pascalCase(permission, true)) ? null : missing.push(permission))); | ||
if (missing.length) | ||
@@ -128,0 +128,0 @@ return await emit( |
{ | ||
"name": "xernerx", | ||
"version": "4.17.6", | ||
"version": "4.17.7", | ||
"description": "A bot framework for discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137864