This commit is contained in:
Travis CI 2016-11-26 22:44:08 +00:00
parent 72a5fb68ec
commit 130bface5f
2 changed files with 2 additions and 2 deletions

View file

@ -1477,7 +1477,7 @@ class Role {
* .catch(console.error); * .catch(console.error);
*/ */
setPosition(position) { setPosition(position) {
return this.guild.setRolePosition(this, position); return new Promise((resolve, reject) => this.guild.setRolePosition(this, position).then(resolve, reject));
} }
/** /**

File diff suppressed because one or more lines are too long