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
d.js toolkit
d.js toolkit8mo ago
- 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 OP
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
h4ze
h4zeOP8mo ago
Ok but it work .. also with client.guild. Hmm Okay I have the solution found.
Want results from more Discord servers?
Add your server