BuildcordDocs

Create a role

Make a new role in the server.

role.create adds a role.

Settings

SettingWhat it does
NameThe role's name, such as Level {var.level}.
Colour#RRGGBB. Empty is no colour.
Show members apart in the listLists its members in a group of their own.
Anyone can mention itLets members ping it.
PermissionsWhat it allows, picked or typed and separated by commas. Empty gives it what @everyone has.
Audit log reasonThe reason Discord records.

Ways out

out. Turn on If it fails for a red way out.

Produces

{created.role} (its ID) and {created.role.mention}.

Notes

  • The bot needs the Manage Roles permission, and can only give a role permissions it has itself.
  • A new role sits at the bottom of the list, below the bot's, so the bot can give it to members straight away.

On this page