For my parent category, the perms are set to everyone cannot connect to channels created and I want it so when someone reacts to the ✅, the bot allows anyone to join the voice channel. The code creates no errors but the permissions do not change. Does anyone know why?
Here is my code:
if(reaction.emoji.name === '✅') {
message.channel.overwritePermissions([
{
id: message.channel.guild.roles.everyone,
allow: ['CONNECT'],
},
]);
}