This commit is contained in:
Travis CI 2016-11-28 01:05:11 +00:00
parent 0b50e21a1f
commit dc32f46d71
2 changed files with 2 additions and 3 deletions

View file

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

File diff suppressed because one or more lines are too long