mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
fixed add member to role
This commit is contained in:
@@ -101,7 +101,7 @@ class Server {
|
||||
|
||||
if(oldRole){
|
||||
var index = this.roles.indexOf(oldRole);
|
||||
this.roles[index] = new ServerPermissions(data);
|
||||
this.roles[index] = new ServerPermissions(data, this);
|
||||
|
||||
return this.roles[index];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user