mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
fix(GuildChannel): return GuildChannel in setPosition instead of Guild
fixes #3413
This commit is contained in:
@@ -331,7 +331,7 @@ class GuildChannel extends Channel {
|
|||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setPosition(position, relative) {
|
setPosition(position, relative) {
|
||||||
return this.guild.setChannelPosition(this, position, relative);
|
return this.guild.setChannelPosition(this, position, relative).then(() => this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user