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);
*/
setPosition(position) {
return new Promise(
(resolve, reject) => this.guild.setRolePosition(this, position).then(() => resolve(this), reject));
return this.guild.setRolePosition(this, position).then(() => this);
}
/**

File diff suppressed because one or more lines are too long