From 49397c0ca4ec468a2046167afa64b7a82aa5e7fa Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 2 Mar 2022 09:31:51 +0000 Subject: [PATCH] fix(ThreadChannel): Require `sendable` for `unarchivable` (#7555) --- src/structures/ThreadChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ThreadChannel.js b/src/structures/ThreadChannel.js index 7c45cbc327dd..40d4bab57bde 100644 --- a/src/structures/ThreadChannel.js +++ b/src/structures/ThreadChannel.js @@ -487,7 +487,7 @@ class ThreadChannel extends Channel { * @readonly */ get unarchivable() { - return this.archived && (this.locked ? this.manageable : this.sendable); + return this.archived && this.sendable && (!this.locked || this.manageable); } /**