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