mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: 2349238f69
This commit is contained in:
parent
f3fea6ad7b
commit
0f59dde4e0
2 changed files with 3 additions and 3 deletions
|
|
@ -1768,11 +1768,11 @@ class Role {
|
|||
* Get an object mapping permission names to whether or not the role enables that permission
|
||||
* @returns {Object<string, boolean>}
|
||||
* @example
|
||||
* // print the serialized role
|
||||
* // print the serialized role permissions
|
||||
* console.log(role.serialize());
|
||||
*/
|
||||
serialize() {
|
||||
return this.client.resolver.serializePermissions(this.permissions);
|
||||
return new Permissions(this.permissions).serialize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue