mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Webpack build for branch 11.3.1-dev: 932980e91f
This commit is contained in:
parent
5a43fbc1f2
commit
5b85d297b9
2 changed files with 2 additions and 2 deletions
|
|
@ -17416,7 +17416,7 @@ class RESTMethods {
|
||||||
if (allow instanceof Array) allow = Permissions.resolve(allow);
|
if (allow instanceof Array) allow = Permissions.resolve(allow);
|
||||||
if (deny instanceof Array) deny = Permissions.resolve(deny);
|
if (deny instanceof Array) deny = Permissions.resolve(deny);
|
||||||
|
|
||||||
const role = this.client.resolver.resolveRole(this, overwrite.id);
|
const role = this.client.resolver.resolveRole(guild, overwrite.id);
|
||||||
if (role) {
|
if (role) {
|
||||||
overwrite.id = role.id;
|
overwrite.id = role.id;
|
||||||
overwrite.type = 'role';
|
overwrite.type = 'role';
|
||||||
|
|
|
||||||
2
discord.11.3.1-dev.min.js
vendored
2
discord.11.3.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue