# /roles

The roles command group provides a set of utilities to create and manage alliance roles.

# /roles create

Create an alliance role in the designated alliance and open a select menu to set the permissions.

# Parameters

  • name : The name of the role.
  • rank : The rank of the role, determines its position in the hierarchy.
  • starting_members : A space separated list of users to add to the role upon creation.
  • description : The description of the role.
  • alliance : The alliance ID, alliance link, part of the alliance name or acronym, an invented acronym from the first letter of the alliance name, or any valid argument for a nation to use the alliance of.
  • privacy_level : The privacy level of the role, `PUBLIC`, `PRIVATE`, or `PROTECTED`. Defaults to `PUBLIC`.

# /roles delete

Delete an alliance role.

# Parameters

  • role : The role ID of the role to use.

# /roles list

List the roles you can see of an alliance.

# Parameters

  • alliance : The alliance ID, alliance link, part of the alliance name or acronym, an invented acronym from the first letter of the alliance name, or any valid argument for a nation to use the alliance of.

# /roles info

Display information about a role.

# Parameters

  • role : The role ID of the role to use.

# /roles edit

Edit an alliance role.

# Parameters

  • role : The role ID of the role to use.
  • name : The name of the role.
  • rank : The rank of the role, determines its position in the hierarchy.
  • description: The description of the role.
  • privacy_level : The privacy level of the role, `PUBLIC`, `PRIVATE`, or `PROTECTED`. Defaults to `PUBLIC`.

# /roles add-member

Adds a member to an alliance role.

# Parameters

  • role : The role ID of the role to use.
  • member : The username, mention, or ID of the member to use.

# /roles remove-member

Removes a member from an alliance role.

# Parameters

  • role : The role ID of the role to use.
  • member : The username, mention, or ID of the member to use.

# /roles summary

Show a summary of a user's roles and permissions in an alliance.

# Parameters

  • member : The username, mention, or ID of the member to use.
  • alliance : The alliance ID, alliance link, part of the alliance name or acronym, an invented acronym from the first letter of the alliance name, or any valid argument for a nation to use the alliance of.