mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Minor test, works
This commit is contained in:
@@ -90,7 +90,7 @@ class Server {
|
||||
if(oldRole){
|
||||
|
||||
var index = this.roles.indexOf(oldRole);
|
||||
this.roles[index] = new ServerPermissions(permissionGroup);
|
||||
this.roles[index] = new ServerPermissions(data);
|
||||
|
||||
|
||||
return this.roles[index];
|
||||
|
||||
Reference in New Issue
Block a user