how to create channel in discord js

Solutions on MaxInterview for how to create channel in discord js by the best coders in the world

showing results for - "how to create channel in discord js"
Alan
26 May 2019
1// -- Create Channel/Room
2message.guild.channels.create('name', {
3	type: 'GUILD_TEXT',
4    permissionOverwrites: [{
5    	id: message.guild.id,
6        allow: ['VIEW_CHANNEL'],
7        deny: ['SEND_MESSAGES'],
8	}]
9});
10console.info(`name channel: name | type: text channel`)