Answers for "how to create channel in discord.js"

0

how to create channel in 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`)
Posted by: Guest on August-31-2021

Code answers related to "how to create channel in discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language