Channel permissions

Hi, I'm creating a voice channel with the following code and I don't know how to make it accessible only to people with the administrator role.
const memberCounterChannelId = await interaction.guild.channels.create({
name: `📈 | ${interaction.guild.memberCount}`,
parent: parent ?? null,
type: ChannelType.GuildVoice,
})
const memberCounterChannelId = await interaction.guild.channels.create({
name: `📈 | ${interaction.guild.memberCount}`,
parent: parent ?? null,
type: ChannelType.GuildVoice,
})
3 Replies
Unknown User
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs•16mo ago
Suggestion for @waxer59:guide Popular Topics: Channel overwrites read more
Waxer59
Waxer59•16mo ago
ty