fix(GuildChannel): return GuildChannel in setPosition instead of Guild

fixes #3413
This commit is contained in:
SpaceEEC
2019-07-30 17:46:22 +02:00
parent 0cd7556934
commit 1121b2f7bf

View File

@@ -331,7 +331,7 @@ class GuildChannel extends Channel {
* .catch(console.error);
*/
setPosition(position, relative) {
return this.guild.setChannelPosition(this, position, relative);
return this.guild.setChannelPosition(this, position, relative).then(() => this);
}
/**