Rank Command
The rank command is by far one of Clan Labs most important commands. It allows for the maximum amount of group configuration possible. This ranges from setting the rank xp to setting up badge based promotions.
All commands listed below must start with c!rank .
Roles
If you wish to bind discord roles to each individual rank, then this is the section for you.
Things you need for this section: Rank IDs.
To get your rank ID’s, simply run c!rank .
Rank Command Preview
Look under the rank name that you wish to bind a role to. You will see “Id”. Get the number next to that. For example if I wanted to bind a role to “Test Rank 1” then I would get the ID “2”.
You then need to ensure that you have a discord role created for the rank. For this example I am going to have a role named “@Test”.
Now that you have the 2 things needed for this command, we can begin looking at how to run it.
ID = 2 Role = @Test.
The command for this would be: c!rank role 2 @Test.
Experience
The experience command allows you to set the amount of experience required for each rank. Bear in mind that if you have a badge/gamepass linked to that rank, it will require both the badge and the experience.
The syntax for this command would be: c!rank xp [ID] [AMOUNTOFXP] .
For example. If I wanted to set the xp for the “Test Rank 1” to 15, I would do: c!rank xp 2 15 .
If you wish to disable the xp part of a rank, you can do so by setting it to 0. Example: c!rank xp 2 0 .
Prefixes
Prefixes are what will appear before a users name. For example if I had the member roles prefix set as “[M]”. Their username would then appear as “[M] username”.
To set a prefix, you would do: c!rank prefix [ID] [PREFIXHERE].
An example of me setting the members roles prefix to “[M]” would be: c!rank prefix 1 [M] .
Badge and Gamepass Promotions
To make a rank require a badge or a gamepass, you would run the following command.
c!rank badge [ID] [BADGEID] .
c!rank gamepass [ID] [GAMEPASSID] .
Bear in mind that if you have both a gamepass/badge and xp required for a rank, it will not promote someone unless they have both of them. The same goes for if you have a gamepass and a badge required.
Lock/Unlock
Locking a role means that the bot can still promote to that rank, but it can not automatically promote to that rank.
Unlocking a role means that the bot can both promote to the rank and automatically promote to that rank.
You can also lock/unlock multiple ranks at once, to do so, you would do: c!rank unlock [ID ID ID ID] . To lock multiple ranks, you would do: c!rank lock [ID ID ID] .
To lock a rank you would do the following command: c!rank lock [ID] .
To unlock a rank you would do the following command: c!rank unlock [ID] .