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) });