mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build: e2932c05f2
This commit is contained in:
parent
130bface5f
commit
16fedf1188
2 changed files with 3 additions and 2 deletions
|
|
@ -1477,7 +1477,8 @@ class Role {
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setPosition(position) {
|
setPosition(position) {
|
||||||
return new Promise((resolve, reject) => this.guild.setRolePosition(this, position).then(resolve, reject));
|
return new Promise(
|
||||||
|
(resolve, reject) => this.guild.setRolePosition(this, position).then(() => resolve(this), reject));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
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