File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# $colorRole
2- Modify the color of given role
2+ Changes the color of given role ID
3+
4+ #### Usage: ` $colorRole[Role ID;Primary Color (i.e hex or int);Second Color (optional);Third Color (optional)] `
5+
6+ ### Example (Primary Color)
7+ ```
8+ $colorRole[Role name;green]
9+ ```
10+
11+ ### Example (Gradient)
12+ ```
13+ $colorRole[Role name;green;red]
14+ ```
315
4- #### Usage: ` $colorRole[roleID;hex or int color] `
516##### Function difficulty: <Badge type =" tip " text =" Easy/ Medium/ Difficult " vertical =" middle " />
617###### Tags: <Badge type =" tip " text =" role " vertical =" middle " /> <Badge type =" tip " text =" color " vertical =" middle " /> <Badge type =" tip " text =" modify " vertical =" middle " />
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ a compact function with many functionalities!
1010* id - role's ID.
1111* hex - role's hex color.
1212* color - role's 10 base number
13+ * primaryColor - same as color
14+ * secondColor - secondary color in case of gradient
15+ * thirdColor - third color in case of there is tertiary color
1316* created - role's date and time of creation.
1417* position - role's position.
1518* rawposition - role's raw position.
You can’t perform that action at this time.
0 commit comments