parent
57d4628d2b
commit
eaf8167ce4
@ -459,7 +459,7 @@ class ThreadChannel extends Channel {
|
||||
* @returns {Promise<ThreadChannel>}
|
||||
*/
|
||||
pin(reason) {
|
||||
return this.edit({ flags: this.flags.add(ChannelFlags.FLAGS.PINNED), reason });
|
||||
return this.edit({ flags: this.flags.add(ChannelFlags.FLAGS.PINNED) }, reason);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -468,7 +468,7 @@ class ThreadChannel extends Channel {
|
||||
* @returns {Promise<ThreadChannel>}
|
||||
*/
|
||||
unpin(reason) {
|
||||
return this.edit({ flags: this.flags.remove(ChannelFlags.FLAGS.PINNED), reason });
|
||||
return this.edit({ flags: this.flags.remove(ChannelFlags.FLAGS.PINNED) }, reason);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -478,7 +478,7 @@ class ThreadChannel extends Channel {
|
||||
* @returns {Promise<GuildForumThreadChannel>}
|
||||
*/
|
||||
setAppliedTags(appliedTags, reason) {
|
||||
return this.edit({ appliedTags, reason });
|
||||
return this.edit({ appliedTags }, reason);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user