I need my discord bot to at a command (say !command) will create 3 roles (role one, role two, role three). It would be great if the roles could have colors and be hoisted but it’s not necessary and I don’t need anything beyond that. Nothing I’ve seen on Stack Overflow or Youtube has worked. Also, I’m using discord.js if that helps.
This is the code I’ve tried:
guild.roles.create({ data: { name: "Role One", permissions: ["View_Channels"] } });
The permission "VIEW_CHANNELS" doesn’t exist, it is "VIEW_CHANNEL"
You can get all the role permissions here: https://discord.js.org/#/docs/main/stable/class/Permissions?scrollTo=s-FLAGS