give role after created discord js code example
Example 1: discord javascript how to create a role
// Create a new role with data and a reason
guild.roles.create({
data: {
name: 'Super Cool People',
color: 'BLUE',
},
reason: 'we needed a role for Super Cool People',
})
.then(console.log)
.catch(console.error);
Example 2: add role to channel discord.js
// deleting the channels overwrite for the message author
channel.permissionOverwrites.get(message.author.id).delete();