#Channel can be viewed by everyone when permission is set to deny viewing channel

1 messages · Page 1 of 1 (latest)

high belfry

My command creates a new text channel, it was working earlier but recently noticed it was allowing the everyone role to be set to allow everyone to view the current channel.

 permissionOverwrites: [
        {
          id: interaction.guild.roles.everyone,
          deny: [PermissionsBitField.Flags.ViewChannel],
        },

My code is right, right?