discord js duplicate channel code example
Example: discord js duplicate channel
var bot = new Discord.Client();
bot.on('ready', () => {
bot.channels.get(voic).clone(undefined, true, false, 'Needed a clone')
.then(clone => console.log(`Cloned ${channel.name} to make a channel called ${clone.name}`))
.catch(console.error);
}