mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Added deleting of roles
This commit is contained in:
@@ -17,7 +17,7 @@ class Server {
|
||||
this.roles = [];
|
||||
|
||||
for(var permissionGroup of data.roles){
|
||||
this.roles.push( new ServerPermissions(permissionGroup) );
|
||||
this.roles.push( new ServerPermissions(permissionGroup, this) );
|
||||
}
|
||||
|
||||
if(!data.members){
|
||||
|
||||
Reference in New Issue
Block a user