From 4c5605f4e416dedb8e2186275f430cc30b4d4bbf Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 5 Aug 2022 20:16:30 +0300 Subject: [PATCH] fix --- src/structure/components/settings/moderation/Mute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/settings/moderation/Mute.js b/src/structure/components/settings/moderation/Mute.js index d64ad43..fdd71e4 100644 --- a/src/structure/components/settings/moderation/Mute.js +++ b/src/structure/components/settings/moderation/Mute.js @@ -260,7 +260,7 @@ class MuteSetting extends Setting { const configuration = channel.type === ChannelType.GuildText ? { permissions: { SendMessages: false, AddReactions: false }, bitwise: 0x800n } - : { permissions: { CONNECT: false, SendMessages: false, AddReactions: false }, bitwise: 0x100000n }; + : { permissions: { Connect: false, SendMessages: false, AddReactions: false }, bitwise: 0x100000n }; try { await channel.permissionOverwrites.create(role, configuration.permissions, { reason: super.reason(user) });