Comment créer un canal dans Discord.js
// -- Create Channel/Room
message.guild.channels.create('name', {
type: 'GUILD_TEXT',
permissionOverwrites: [{
id: message.guild.id,
allow: ['VIEW_CHANNEL'],
deny: ['SEND_MESSAGES'],
}]
});
console.info(`name channel: name | type: text channel`)
SupYay