📅  最后修改于: 2022-03-11 15:02:46.698000             🧑  作者: Mango
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);
}