mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
Added permissions directive
This commit is contained in:
parent
3869f584b6
commit
e046467d92
2 changed files with 9 additions and 0 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,10 @@ class Server {
|
||||||
get permissionGroups(){
|
get permissionGroups(){
|
||||||
return this.roles;
|
return this.roles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get permissions(){
|
||||||
|
return this.roles;
|
||||||
|
}
|
||||||
|
|
||||||
get iconURL() {
|
get iconURL() {
|
||||||
if (!this.icon)
|
if (!this.icon)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue