create a category discord js

Solutions on MaxInterview for create a category discord js by the best coders in the world

showing results for - "create a category discord js"
Eleonora
27 Jan 2020
1guild.createChannel('new-category', {
2  type: 'category',
3  permissionsOverwrites: [{
4    id: guild.id,
5    deny: ['MANAGE_MESSAGES'],
6    allow: ['SEND_MESSAGES']
7  }]
8})
9  .then(console.log)
10  .catch(console.error);
11