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