mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Added permissions directive
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user