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•2y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs•2y ago
Suggestion for @waxer59:guide Popular Topics: Channel overwrites read more
Waxer59
Waxer59OP•2y ago
ty
Want results from more Discord servers?
Add your server