error cant set permissions as old channel

server.channels.create(channel.name, {
type: channel.type,
topic: channel.topic,
nsfw: channel.nsfw,
parent: channel.parent,
position: channel.position,
permissionOverwrites: channel.permissionOverwrites

})
server.channels.create(channel.name, {
type: channel.type,
topic: channel.topic,
nsfw: channel.nsfw,
parent: channel.parent,
position: channel.position,
permissionOverwrites: channel.permissionOverwrites

})
No description
3 Replies
d.js toolkit
d.js toolkit7mo 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!
quaint racoon
quaint racoon7mo ago
channel is the old channel from old server server is the new server im creating the new channel in