mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
added toString to ServerPermissions
This commit is contained in:
@@ -46,6 +46,11 @@ var ServerPermissions = (function () {
|
||||
value: function getBit(x) {
|
||||
return (this.packed >>> x & 1) === 1;
|
||||
}
|
||||
}, {
|
||||
key: "toString",
|
||||
value: function toString() {
|
||||
return this.name;
|
||||
}
|
||||
}]);
|
||||
|
||||
return ServerPermissions;
|
||||
|
||||
Reference in New Issue
Block a user