parent
34fb1df241
commit
bf0fde611c
@ -607,7 +607,7 @@ class Message extends Base {
|
||||
if (this.channel?.isThread()) {
|
||||
if (this.channel.archived) return false;
|
||||
if (this.channel.locked) {
|
||||
const permissions = this.permissionsFor(this.client.user);
|
||||
const permissions = this.channel.permissionsFor(this.client.user);
|
||||
if (!permissions?.has(Permissions.FLAGS.MANAGE_THREADS, true)) return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user