From 1121b2f7bff4caabce2812fb618167304cb00c66 Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Tue, 30 Jul 2019 17:46:22 +0200 Subject: [PATCH] fix(GuildChannel): return GuildChannel in setPosition instead of Guild fixes #3413 --- src/structures/GuildChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 3d1988a02..fba55eaa8 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -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); } /**