began to work on update listening

This commit is contained in:
hydrabolt
2015-10-03 23:40:29 +01:00
parent 0b020f9264
commit aed7d3c1c2
4 changed files with 36 additions and 5 deletions

View File

@@ -18,7 +18,6 @@ var ServerPermissions = (function () {
this.name = data.name;
this.id = data.id;
this.createInstantInvite = getBit(0);
this.banMembers = getBit(1);
this.kickMembers = getBit(2);
this.manageRoles = getBit(3);
@@ -51,6 +50,14 @@ var ServerPermissions = (function () {
value: function toString() {
return this.name;
}
}, {
key: "createInstantInvite",
get: function get() {
return this.getBit(0);
},
set: function set(val) {
this.setBit(0, val);
}
}]);
return ServerPermissions;