Added permissions directive

This commit is contained in:
hydrabolt
2015-10-03 20:33:36 +01:00
parent 3869f584b6
commit e046467d92
2 changed files with 9 additions and 0 deletions

View File

@@ -249,6 +249,11 @@ var Server = (function () {
get: function get() { get: function get() {
return this.roles; return this.roles;
} }
}, {
key: "permissions",
get: function get() {
return this.roles;
}
}, { }, {
key: "iconURL", key: "iconURL",
get: function get() { get: function get() {

View File

@@ -42,6 +42,10 @@ class Server {
return this.roles; return this.roles;
} }
get permissions(){
return this.roles;
}
get iconURL() { get iconURL() {
if (!this.icon) if (!this.icon)
return null; return null;