New Voice Channel id?
client.guild.channels.create({
name: vcNewChannelName,
type: ChannelType.GuildVoice,
parent: vcCategorie,
permissionOverwrites:[{
id: client.member.id,
allow: [PermissionsBitField.Flags.ManageChannels]
},{
id: client.guild.id,
deny:[PermissionsBitField.Flags.ManageChannels]
}]
});
Hello, is it possible to get the ID of a newly created channel?
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPUnknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Ok but it work .. also with client.guild.
Hmm
Okay I have the solution found.