mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build: 6dc93a0184
This commit is contained in:
parent
0b50e21a1f
commit
dc32f46d71
2 changed files with 2 additions and 3 deletions
|
|
@ -1512,8 +1512,7 @@ class Role {
|
|||
* .catch(console.error);
|
||||
*/
|
||||
setPosition(position) {
|
||||
return new Promise(
|
||||
(resolve, reject) => this.guild.setRolePosition(this, position).then(() => resolve(this), reject));
|
||||
return this.guild.setRolePosition(this, position).then(() => this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue