updated getters
This commit is contained in:
parent
59fb43feda
commit
91fe66b202
@ -371,6 +371,18 @@ class Server extends EventEmitter {
|
||||
return this.#_port;
|
||||
}
|
||||
|
||||
get mongodb () {
|
||||
return this.#_mongodb;
|
||||
}
|
||||
|
||||
get memoryStoreProvider () {
|
||||
return this.#_memoryStoreProvider;
|
||||
}
|
||||
|
||||
get mariadb () {
|
||||
return this.#_mariadb;
|
||||
}
|
||||
|
||||
get users () {
|
||||
return this.#_userDatabase;
|
||||
}
|
||||
|
@ -61,7 +61,6 @@ class PermissionManager {
|
||||
const resolveables = perm.split(':');
|
||||
let selector = null;
|
||||
|
||||
|
||||
if (typeof perms.developer === 'number' && perms.developer > 0
|
||||
|| typeof perms.developer === 'object' && typeof perms.developer.default === 'number' && perms.developer?.default > 0)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user