mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(GuildChannel): return GuildChannel in setPosition instead of Guild
fixes #3413
This commit is contained in:
parent
0cd7556934
commit
1121b2f7bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue