mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
Potential bug fix?
This commit is contained in:
@@ -879,10 +879,6 @@ var Client = (function () {
|
||||
var data;
|
||||
|
||||
if (role instanceof ServerPermissions || role.type === "role") {
|
||||
for (var key in updatedStuff) {
|
||||
role[key] = updatedStuff[key];
|
||||
}
|
||||
|
||||
data = ad(updatedStuff);
|
||||
data.id = role.id;
|
||||
data.type = "role";
|
||||
|
||||
Reference in New Issue
Block a user