summary refs log tree commit diff
path: root/src/util/Permissions.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-13 14:15:59 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-13 14:15:59 +0100
commita44da1024dc39e2d2fef296fc1d4e5894090fce0 (patch)
tree0e9338baa9e64e8a8841913d18eddc5a2bb1a333 /src/util/Permissions.ts
parent:sparkles: mongoose Schemas (diff)
downloadserver-a44da1024dc39e2d2fef296fc1d4e5894090fce0.tar.xz
:zap: Config and database update
Diffstat (limited to 'src/util/Permissions.ts')
-rw-r--r--src/util/Permissions.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/Permissions.ts b/src/util/Permissions.ts
index f076e0c2..c3dcdb53 100644
--- a/src/util/Permissions.ts
+++ b/src/util/Permissions.ts
@@ -46,9 +46,6 @@ export class Permissions extends BitField {
 
 	/**
 	 * Checks whether the bitfield has a permission, or multiple permissions.
-	 * @param {PermissionResolvable} permission Permission(s) to check for
-	 * @param {boolean} [checkAdmin=true] Whether to allow the administrator permission to override
-	 * @returns {boolean}
 	 */
 	has(permission: PermissionResolvable, checkAdmin = true) {
 		return (checkAdmin && super.has(Permissions.FLAGS.ADMINISTRATOR)) || super.has(permission);